| [ Web Proxy ] |
| Viewing: https://wiki.python.org/moin/../python/platforms/../web/../../psf/../python/web/Albatross.html | [Back] [Original] |
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
A framework for WebProgramming.
1.40 (2010-03-15)
Albatross uses a Open Source BSD-like license that permits most uses.
Unix and Windows
Python 2.2 and up
Allows programs to be deployed as CGI, FastCGI, mod_python or stand-alone applications on either Unix or Windows. Applications can be coded as monolithic scripts or as a collection of page modules. Switching deployment methods can be achieved by changing less than 10 lines of code.
A number of server and client side session schemes are supported.
Albatross is particularly suited to building small stateful web applications quickly, but also scales well to large applications.
Albatross functionality is provided via a collection of mixin classes which provide variant implementations of common functional areas. There are also a collection of pre-packed classes which combine the basic mixins to implement commonly used functionality.
If any aspect of the functionality does not suit your needs you are encouraged to substitute your own mixin classes.
Albatross applications are a collection of Python modules and HTML template files. All code and templates are stored in the host file system.
Albatross session functionality is provided by a combination of application and execution context mixins. The supplied mixins support the following session options.
No sessions.
Client side sessions using MD5 signed pickles in hidden fields.
Server side sessions using the Albatross TCP session server.
Server side sessions using the file system.
Server side sessions with branching - this scheme reduces the problems caused by users using the browser <back> button.
All session ids are randomly generated 64 bit numbers using /dev/urandom if available falling back to random module.
No support provided - just use your favourite DB-API modules.
Albatross uses a DTML like templating scheme. The more interesting templating functions are:
Derive attribute values from python expressions for arbitrary tags.
Automatic sequence pagination.
Presentation and browsing of tree structured data with optional lazy loading and/or Ellipsis View. This allows huge trees to be browsed.
Simple but powerful macro definition and expansion.
Switch like lookup tables to translate native Python values to arbitrary template content.
Albatross is a toolkit for developing highly stateful web applications.
Object Craft (the developers of Albatross) are committed to ongoing maintenance and enhancement of Albatross as they use it in a number of their consulting projects.
Back to top2026, Python Software Foundation
Made with Sphinx and Shibuya theme.
| Web Proxy Viewer | New URL | Original Page |