Post archive

Making Template Tag Parsing Easier

2009 November 03

In my previous post about template tags, I discussed the two steps required for template tags. Today I will be focusing on Parsing of template tags, and how they may be improved in the framework of Class Based Template Tags from yesterday ...

Class Based Template Tags

2009 November 03

The problem

In Django, template tags currently are separated between a Node class and a "parsing function". The parsing function takes the tag, represented as a string, parses the input, and passes the correct arguments to a Node class. The Node class then does whatever rendering it does, or updating ...

Hacker Book Club

2009 September 26

At LPDN, our weekly programmer drinkup, we have been talking for a while about watching the SICP lectures from MIT as a fun thing to do. I then got to thinking about how it would be neat ...

A playground for Django Template tags and filters

2009 May 24

The Problem

Any sufficiently large Django project starts to have a wide variety of Template Tags and Filters. Even Django ships with a dizzying array of them that allow you to do all sorts of fun and interesting things. Ellington, our CMS at work, has a ton, and I've ...

Starting a Django Conventions Project and Reference

2008 December 03

During the last month I have proposed some conventions for Django, mostly in the realm of templates. In doing so I have looked around for other documented places where conventions are mentioned. I haven't found a really good reference for Django conventions. [Brian's post](http://oebfare.com/blog ...

The value of conventions, aka testmaker for template tags.

2008 November 27

A couple posts ago, I talked about how we should have conventions for the names that we use in Django Template Blocks. Today I will be talking about the value that is gained from this kind of structure.

Use Cases

Template Tags ...

The times, they are a changin

2008 November 09

A couple posts back, I was talking about software that I use all the time. I was going through and linking to all of the software. I would go to google, type in the project name, go to the first result, and copy that URL back into my post. I ...

The problem with Django's Template Tags

2008 November 08

There are a lot of things that I love about Django. Template tags are one of them. However, they do have a couple of warts that bother me. I know that there's a problem when I actively look for another way to accomplish something instead of writing a template ...

Making a Django Uber-Community

2008 November 06

My workload at work is about to get a lot less critical and time consuming, so I was looking for a project to start on. I am really interested in the social aspects of the web, and below I will outline an idea that I think will be my next ...

Security Vulnerabilities on the Internet

2008 February 19

I was reading an article on LWN about security vulnerabilities on newly shipped machines. The qualm is that the same place that the updates for vulnerabilities come from is the same place where you are going to get infected. They are asking if there isn't possibly a better way ...