Blog Replacement: Update

9 PM March 24, 2004

My blog replacement is coming along—about 3800 lines so far. The database layer has been stable for the last two weeks, and I have all my current MT blog entries imported. I’m currently working on the web layer.

Real-life has temporarily got the better of this project. I was hoping to switch from my current ISP to a python server at the end of this month, but the switch will now have to wait until the next month.

Technology wise, sqlite works just fine, and I think I’m over the hump with Twisted and its Deferreds. To reduce the learning curve, I decided to leave Woven, Nevow and other templating systems alone for the time being, which means I’m well on my way to producing my own bastard child of Struts.

The two hours a day on the train is working out well. I can get a lot done in an hour with Python, and I’m finding it easy to pick up where I left off too.

I have lots more to write about the design, when I have a live system.

By alang | # | Comments (3)
(Posted to Software Development)

Comments

At 09:38, 25 Mar 2004 Richard Jones wrote:

Heh. Writing blog software is fun. I wrote my own for Zope :)

A friend looked a pybloxsom, balked and is writing his own too, based on as many existing Python components as possible (rfc822.Message for log entry storage in the filesystem, SimpleTAL for templating, ...)

(#)
At 14:45, 25 Mar 2004 Andrew Reid wrote:

>> about 3800 lines so far

If you want to sound impressive perhaps LOC is not the best metric to choose for python code given its reputation for terseness :)

(#)
At 20:36, 25 Mar 2004 Alan Green wrote:

In Python, programs start big and end up small. When I'm finished, my entire blog will be implemented in two lines of code:

import blog
blog.main()

(#)

Add Comment




(Not displayed)






(Leave blank line between paragraphs. URLs converted to links. HTML stripped. Indented source code will be formatted with <pre> tags.)




© 2003-2006 Alan Green