Oct22006

First App Using Pylons

Filed under: pylons wsgi 

I watched the WSGI video (and followed the slides in a second window cause the video is too tiny and compressed) and am sold. WSGI is the future of the Python web framework. While most of the major frameworks (TurboGears, Django, Twisted, et al) support WSGI, only a couple are WSGI from top to bottom: Pylons and Clever Harold. Of these two, Pylons appears to be the most mature and active, so I've decided to give it a shot. Also, the fact that the Pylons crew has ported most of the interesting stuff from Rails doesn't hurt any either.

I have to admit, I'm starting to feel like a framework whore though. Hopefully it starts to pay as well ;-)



0 comments Leave a comment


Sep142006

A Do-It-Yourself Framework

Filed under: wsgi 

In A Do-It-Yourself Framework, Ian Bicking demystifies WSGI and shows how to assemble a Python web framework out of components.



0 comments Leave a comment


Aug32006

Example of dispatching to Trac from Twisted via WSGI

Filed under: twisted wsgi trac 



0 comments Leave a comment


Aug142008

Another High-Performance WSGI Server

Filed under: pylons spawning wsgi 

Today I stumbled across Spawning, a high-performance WSGI server written by Donovan Preston. It's based on eventlet, which is a coroutine-based server framework for Python.

Initial reports deploying a Django application behind it appear promising, so I decided to give it a try.

For Pylons, the configuration required only a couple of changes to the Paste .ini file:

[server:main]
use = egg:Spawning
num_processes = 2
host = 127.0.0.1
port = 8000

I've deployed it on both this blog and on the Breve site. I'm planning on getting a proper benchmarking environment up later tonight so I can compare it to Paste#http.



0 comments Leave a comment


Copyright © 2007, Cliff Wells