Zachary on Routes with CherryPy 3

Posted by ben Fri, 03 Feb 2006 03:03:17 GMT

Zachary.com has a very nice update on Routes with CherryPy covering not only how to integrate them, but why you’d want to use Routes style dispatch instead of the object publishing approach CherryPy uses by default.

In the future, there’ll also be an independent dispatcher for Routes that handles dispatch at the WSGI level. I believe Ian Bicking already has such code, though he hasn’t released it yet. I’m sure it’d make a great Part 2 in his series(?) on working with WSGI up close and personal. If you haven’t read his Do-It-Yourself Framework, I’d highly suggest giving it a read.

Not only does it help demystify WSGI, but it should hopefully make it more obvious why WSGI is changing the point of competition in the world of web programming.

Comments

Leave a comment

  1. Avatar
    Ian Bicking about 3 hours later:

    I don’t know if I’m up for a series ;)

    But if people want to look at that code—which is part of some other code (but is one of the primary parts) I’m not private about it, I just make no claims about the framework itself. The code is in here

  2. Avatar
    David Creemer about 15 hours later:

    Thanks for the comment on my Routes / CherryPy work. Routes is great stuff, and once I got the integration done I immediately began to reap the benefits through easy URL restructuring, etc. I only wish I had completed this sooner, as I have a lot of code to clean up now.

    Thanks again for the great work.

  3. Avatar
    lcr 7 months later:

    urlrelay dispatches on the WSGI level:

    http://cheeseshop.python.org/pypi/urlrelay/