[mod_python] Trying to learn mod_wsgi - any code samples or tutorials?

Doug Epling wdepli at mikrotec.com
Tue Apr 27 19:26:30 EDT 2010

On 4/27/2010 7:15 AM, Graham Dumpleton wrote:
> On 27 April 2010 21:03, Peter Bleackley<peter.bleackley at rd.bbc.co.uk>  wrote:
>> I've used mod_python in the past, but since I believe it's now deprecated in
>> favour of mod_wsgi, I'd like to use the latter for my next web app.
>> Unfortunately, whereas mod_python had extensive documentation and tutorials
>> available online, for mod_wsgi I've been unable to find anything more
>> sophisticated that "Hello world". Does anyone know where there's some
>> example code I could look at?
> The mod_wsgi module is a means of hosting any Python web framework or
> application that supports the WSGI interface. The mod_wsgi module
> isn't a framework in itself whereas mod_python is in part due to its
> high level handlers.
> Thus, what you should be doing is simply selecting any of the separate
> Python web frameworks that support WSGI and use them, following their
> specific documentation.
> The more popular full featured frameworks are Django, TurboGears,
> Pylons, CherryPy and web2py. At the other end are WSGI component
> libraries such as Werkzeug and Paste, which you can use to construct a
> custom framework specific to your needs. There are also now micro
> frameworks such as Flask.
> So, have a look at those.
> You can find a large list of other WSGI supporting frameworks at:
>    http://www.wsgi.org/wsgi/Frameworks
> You will also find various articles about WSGI at:
>    http://www.wsgi.org/wsgi/Learn_WSGI
> Graham
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
I have played with Werkzeug and I really like it.  However, if it is 
documentation you want Pylons might be the way to go.  There is a free 
book at http://pylonsbook.com/en/1.1/ copyright circa 2009.

More information about the Mod_python mailing list