paulb@60 | 1 | WebStack is a package which provides a common API for Python Web applications,
|
paulb@60 | 2 | regardless of the underlying server or framework environment. It should be
|
paulb@60 | 3 | possible with WebStack to design and implement an application and to choose a
|
paulb@60 | 4 | deployment environment, without having to go back and rewrite large parts of
|
paulb@60 | 5 | that application to work in the chosen environment or in other environments
|
paulb@60 | 6 | (should the deployment requirements change after the application has been
|
paulb@60 | 7 | written).
|
paulb@60 | 8 |
|
paulb@60 | 9 | Currently, BaseHTTPRequestHandler (via BaseHTTPServer in the standard library),
|
paulb@60 | 10 | mod_python, Twisted and Webware are supported. Each framework has its own set of
|
paulb@60 | 11 | strengths and weaknesses, but the idea is that deployment concerns can be
|
paulb@60 | 12 | considered separately from the implementation of application functionality.
|
paulb@63 | 13 | Consult the NOTES.txt files in each framework's subdirectory of the docs
|
paulb@63 | 14 | directory for some notes on how applications may be run in each environment.
|
paulb@60 | 15 |
|
paulb@60 | 16 | Things to consider for future releases: higher-level authentication support,
|
paulb@63 | 17 | cookie handling, redirects, and much better documentation.
|