Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
How to create "cross-backend" python web app
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Paul Boddie, post: 1829010"] That looks like an interesting application/component. Although a kind of Web "middleware" standard called WSGI [1] has been proposed to somehow alleviate these kinds of problems, I'd recommend using WebStack [2] to implement a "cross-backend" solution which will run on CGI, mod_python, Twisted, BaseHTTPServer and other technologies. Some might argue that writing directly to WSGI would allow you to re-use your CGI-based code moderately easily whilst having some backend portability. I'd argue that WebStack's API is slightly more high-level and that the WebStack distribution should provide you with everything you need to deploy your application on the backends you've chosen (plus others). Either way, you certainly don't need to rewrite your application for every different environment any more. Paul [1] [URL]http://www.python.org/peps/pep-0333.html[/URL] [2] [URL]http://www.python.org/pypi/WebStack[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
How to create "cross-backend" python web app
Top