i finally got around to porting this site to the TurboGears framework, which i've been using a lot lately.
it was already CherryPy + SQLObject, so it wasn't that big a deal.
i also used Routes to map the urls to controller methods. i'm generally ok with the default cherrypy approach, but for thraxil.org, the url structure is fairly complicated and Routes certainly made that a lot cleaner.
next, i'm working on refactoring as much of the code out into seperate mini REST applications as i can (like Tasty) to make things even more manageable. of course, i need a few more unit tests before i can really do that safely...
comments
Jonah - Mon 06 Mar 2006 00:43:04
A blog built on turbogears! Could this possibly unseat wordpress?Anonymous - Sun 23 Apr 2006 22:53:25
Could you elaborate more on how you integrated Routes with TurboGears? Did you just use a single top-level catch-all default method, or did you manage to hook more elegantly into TurboGears?anders pearson - Mon 24 Apr 2006 20:21:27
there's a catch-all default method on the root controller that gives Routes a crack at any url coming in. mostly Routes then passes it along to the right controller. it's not terribly elegant, but it's pretty straightforward.