1 Introduction
2 ------------
3
4 WebStack is a package which provides a common API for Python Web applications,
5 regardless of the underlying server or framework environment. It should be
6 possible with WebStack to design and implement an application and to choose a
7 deployment environment, without having to go back and rewrite large parts of
8 that application to work in the chosen environment or in other environments
9 (should the deployment requirements change after the application has been
10 written).
11
12 Framework Support
13 -----------------
14
15 Currently, BaseHTTPRequestHandler (via BaseHTTPServer in the standard library),
16 mod_python, Twisted and Webware are supported. Each framework has its own set of
17 strengths and weaknesses, but the idea is that deployment concerns can be
18 considered separately from the implementation of application functionality.
19 Consult the NOTES.txt files in each framework's subdirectory of the docs
20 directory for some notes on how applications may be run in each environment.
21
22 Tested Frameworks
23 -----------------
24
25 BaseHTTPRequestHandler Python 2.2.2
26 mod_python 3.0.3
27 Twisted 1.0.5
28 Webware 0.8.1, CVS (2004-02-06)
29
30 Future Work
31 -----------
32
33 Things to consider for future releases: higher-level authentication support,
34 cookie handling, redirects, session interfaces, and much better documentation.
35
36 Field storage needs testing, especially for anything using the
37 cgi.FieldStorage class, and either the Twisted support needs a wrapper class
38 resembling cgi.FieldStorage, or the whole structure of form fields needs
39 reviewing.