[Zope3-dev] PEP 333 and Zope
Jim Fulton
jim at zope.com
Mon Oct 18 11:44:45 EDT 2004
Phillip J. Eby wrote:
> This is just a little heads-up to mention that PEP 333 is approaching
> finalization, and if anybody who works on the server subsystems of Zope
> (e.g. ZServer, zope.server, etc.) could take a look at it, that would be
> good.
>
> PEP 333 is a proposed standard for interaction between Python web
> applications/frameworks and a Python web server or gateway. The idea is
> that an application or framework that is PEP 333-compliant can run in
> any web server that is PEP 333-compliant.
>
> In principle, if ZServer/zope.server and ZPublisher/zope.publisher were
> modified to use a PEP 333-based interface as their communication
> machinery, then ZServer would in principle be able to run any PEP
> 333-based application, and Zope applications would in principle be able
> to run in any PEP 333-compliant server.
>
> I'm not asking if anybody's willing to implement such a refactoring
> right now, but I would appreciate it if someone with the requisite
> experience can look over the PEP to see whether there are any major
> issues that would prevent such a refactoring later, so that the PEP can
> be revised if needed. The URL is:
>
> http://www.python.org/peps/pep-0333.html
This looks good. I can't see any obvious reason why there should be
a problem either. It will be hard to tell until someone actually tried to
implement the spec.
I'd love to see someone create a wrapper for zope.publisher that
provides a WSGI application.
...
> However, I'm only looking at the direct implementation issues, not
> configuration issues, compatibility with other servers' threading
> models, etc. So, it would be nice if someone could read the PEP with an
> eye to what I might have missed. Thanks!
I don't have time for more than an initial read. The next step for me
would be to try to implement something, but I don't have time for that
either.
Given that people are creating server implementations for Twisted and
mod_python, there would be great value in having someone build an application
implementation for Zope and trying it out with Twisted and mod_python.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list