Tuesday, January 23, 2007

WSGI

Web Server Gateway Interface (WSGI) is the standard interface between web server software and Python web applications.

And this is really neat. The obvious first; you can plug any app supporting WSGI into any webserver supporting WSGI. And most webservers do, in some way or another. But whats even cooler is that WSGI has an architecture which allows applications to be stacked. You can have fx your authorization in a separate application.

Its easy and it allows for minimum coupling.

No comments: