The overhaul took about thirty hours, from working out how to download these new-fangled egg thingies1, to being ready to upload the new server to python-hosting.com. In that time, I was able to learn WSGI and implement an app server framework, upgrade pysqlite, textile and Cheetah, make some much-needed changes to the weblog administration interface, and delete five months worth of blogspam. This is not so much a testament to my l33t python sk1llz, as it is to the quality of these packages and technologies.
The current technology stack is:
This is the second time I’ve overhauled my weblog software. The first was a move from from Twisted to CherryPy. Back then, I made a point of stating that I thought Twisted had lots of good things going for it, but that it just wasn’t a good tool for building a weblog. I can’t say the same thing this time: CherryPy is a great tool for building a weblog. The only reason for moving away from CherryPy was to explore WSGI.
I’m glad I did because WSGI is fun. The API is small and convenient, and provides raw access to much of the HTTP environment. It doesn’t impose many design decisions on application code, yet allows components to work together . So far, each Paste component I have used has met Ian Bicking’s usual high standards and worked exactly as advertised.
That’s about it for now. I hope to fill in some more detail later.
1 I know Paste isn’t for n00bs, but some proper “quick-start”
instructions that begin with a pointer to “ez_install”: would be nice.
2 The latest version of which has a very nice footnote function.
3 I wish
dateutil.relativedelta was part of the standard library.