PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

WSGI for Python

Note: This article was originally published at Planet PHP on 13 January 2011.
Planet PHP

Python specification for a Web Server Gateway Interface has been accepted, with quite ambitious goals:

If middleware can be both simple and robust, and WSGI is widely available in servers and frameworks, it allows for the possibility of an entirely new kind of Python web application framework: one consisting of loosely-coupled WSGI middleware components. Indeed, existing framework authors may even choose to refactor their frameworks' existing services to be provided in this way, becoming more like libraries used with WSGI, and less like monolithic frameworks. This would then allow application developers to choose "best-of-breed" components for specific functionality, rather than having to commit to all the pros and cons of a single framework.

Something like this would be healthy also for the highly fragmented PHP web frameworks world. In library space PHP may be finally getting a real code-sharing ecosystem, but actual interoperability of web components is much further away.