durusmail: quixote-users: wsgi_server.py for Quixote
wsgi_server.py for Quixote
2005-04-29
2005-04-30
2005-04-30
2005-04-30
2005-04-30
2005-04-30
2005-04-30
2005-04-30
2005-04-30
2005-04-30
2005-04-30
2005-05-01
2005-05-01
2005-05-01
2005-05-02
2005-05-01
2005-05-01
2005-04-30
2005-04-30
2005-04-30
wsgi_server.py for Quixote
mso@oz.net
2005-05-02
Titus Brown wrote:
> Don't most people subclass the Publisher themselves?  I haven't done
> much Quixote 2.0 development, but in Quixote 1.2 and before the default
> Publisher was pretty minimal.  Making a new Publisher was usually my
> 1st or 2nd item on a new project.

Q2 has evolved away from this.  URL manipulations and short circuits,
login pages, Request/Session attribute initialization, output filtering,
etc, can now be implemented completely in the Directory / ._q_traverse,
without having to modify the Publisher.  About the only reason to modify
the Publisher now is error formatting.  If sessions, error trapping,
logging, and configuration are factored out to middleware, there may not
be any Publisher left except:

    ROOT._q_traverse(  '/'.split(  request.get_path()  )  )



reply