Python Template Weblog

May 30, 2005

Functioning CGI back-end and interface

Filed under: Meta, Back-End — Tim @ 11:27 am

I worked on the back-end code and the interface to the template systems a good deal this weekend, and have managed to get them to a point where I like them. If I may say so, the interface is very pythonic, in that it’s highly dynamic. At this point, I have a working CGI script and a good class hierarchy for both view objects and template engines, and I think I’ve hit a nice balance between over-engineering the interface and making the code easy to use and extend.

As a test, I’ve implemented a simple pager in kid and PyMeld. The pager is a nice component because it’s so simple (with a view object consisting of two integers), but it seems like a good way to get a feel for a given template engine. I’m considering writing a pager in each system as a sort of sneak peek at each one before getting more in-depth with each engine in turn. That will also give me some time to get feedback from various template authors.

At this point I am going to need to write up the back-end, massage the code into something a little more releasable, and install it on my hosting provider. I want to reorganize the weblog layout a bit too. After that I’ll be ready to start publicizing this site.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.


[skreak.com] Powered by WordPress. Theme based on Parishudda by H P Nadig.