June 8, 2009

This weekend I wrote a Django powered replacement for this blog which was previously running on the text-file based pybloxsom engine. Unfortunately I found the pybloxsom code too time-consuming to understand and modify, and so I've re-written it using the Django framework which I know much better. It still uses a text-file storage backend, but the code is smaller and easier to understand. You can download the source code to 'django-bloxsom' here:

http://mccormick.cx/dev/djangobloxsom-6.zip

Or with bzr:

bzr co http://mccormick.cx/dev/djangobloxsom/

The templates are hardcoded for my site, but are easy enough to modify, and the code is fairly generic. The textfile based blog data is cached so it doesn't get read from disk every time the page is accessed, so you can use something like memcached for lightning fast page loading. I am hoping to add comments, and pagination soon since these are the features I couldn't work out how to add to pybloxsom. Anyway, hopefully this will be useful to someone.

Need software development advice? Book a call with me.