Re: twisted
Steven Armstrong <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
On 03/29/05 17:17, Blake Winton wrote: > I would guess which version of apache, and how the WSGI stuff was set > up. While Steven gives a sample program to replicate the client-side of > the tests, he gives no indication of how to set up the server-side. > (refering to http://thread.gmane.org/gmane.comp.web.pyblosxom.devel/1397) The server-side code used in the test is the same as is in CVS now. CGI >> /pyblosxom/web/pyblosxom.cgi WSGI_CGI >> /pyblosxom/web/pyblosxom_wsgi.cgi twisted >> /pyblosxom/web/pyblosxom.tac mod_python >> /pyblosxom/web/wsgi_app.py Where WSGI_CGI, twisted and mod_python all run the same program, namely wsgi_app.py. They all use server dependant wrappers/connectors to setup a WSGI compliant environment. Read the source for further infos and dependencies. > > It looks like WSGI is a way to write our app, and have it > "automatically" connect to Twisted or mod_python or CGI, or what have > you. If that's really the way it works, it would make our lives (by > which I mean Steven's life) a lot easier, since we could just write the > app once, and have the connectors deal with the various backends. > As noted above that's exactly how its implemented :-) cheers Steven ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click