Actually I was wondering for some time now if a some kind of web
server specification could be created. I was thinking of a layer
somewhere between reia/peridot and ryan (according to my humble
understanding).
Other reia/peridot frameworks could use this as a defined point to
build up from. Or people could just build their individual web
application using the specification.
I am not an Erlang expert, but I have worked with python's WSGI and it
is great to have such a standard way to plug things together. It can
make things easier for new people and projects.
I believe such a standard works like a magnet to concentrate and
attract different efforts and principles around a (then) well known
standard. Good for reia/peridot and for ryan and for everybody.
I admit I only made some tests with ryan and reia in the past but what
I saw made me a 'believer'.
Unite the power and stability of erlang/beam, the beauty and usability
of a modern language (reia/peridot) to create some stable and strong
interface for the requirements of the modern web. Ryan shows a very
good example!
I would highly encourage the realisation of such a standard interface.
Kurt Miebach
Some links and quotes from the python world:
WSGI:
----
http://docs.python.org/library/wsgiref.html
"You don’t need to understand every detail of WSGI just to install a
WSGI application or to write a web application using an existing
framework."
Python PEP 333:
--------------
http://www.python.org/dev/peps/pep-0333/
"Python currently boasts a wide variety of web application frameworks,
such as Zope, Quixote, Webware, SkunkWeb, PSO, and Twisted Web -- to
name just a few [1]. This wide variety of choices can be a problem for
new Python users, because generally speaking, their choice of web
framework will limit their choice of usable web servers, and vice
versa.
By contrast, although Java has just as many web application frameworks
available, Java's "servlet" API makes it possible for applications
written with any Java web application framework to run in any web
server that supports the servlet API.
The availability and widespread use of such an API in web servers for
Python -- whether those servers are written in Python (e.g. Medusa),
embed Python (e.g. mod_python), or invoke Python via a gateway
protocol (e.g. CGI, FastCGI, etc.) -- would separate choice of
framework from choice of web server, freeing users to choose a pairing
that suits them, while freeing framework and server developers to
focus on their preferred area of specialization."
CherryPy / WSGI:
---------------
http://cherrypy.org/wiki/WSGI
Using CherryPy as a WSGI application
"Whenever you create a CherryPy application, you're creating a WSGI
application, probably without even knowing it. That's because each
cherrypy.Application object is usable as a WSGI application
automatically--just by calling it."