Albatross Documentation and Samples

This document describes and contains documentation and samples for the Albatross Web app server.

Albatross is a Web app server written in Python. You can obtain Albatross at http://www.object-craft.com.au/projects/albatross/.

Contents:

Back to top

A How-to Document for Albatross Beginners

Here is a document that explains how to do a number of simple tasks with Albatross.

Back to top

Sample Object-based Application

This Albatross application is (1) is object-based and supports session state. By "object-based", we mean that the controller is stored in a single Python file and is implemented by defining one Python class for each page. This application provides an example of how to store its session state in files on the local file system.

Here is a tar-ball that you can download.

Back to top

Sample Modular Application

This Albatross application is (1) modular and (2) supports session state. By "modular", we mean that the controller is implemented in a main python file and a set of Python page file, one for each page. And by the controller we mean the Python code that contains the logic that creates the application and controls the order in which pages are generated and delivered.

You will need PostgreSQL and the pgdb Python extension/interface for PostgreSQL (which is included in the PostgreSQL distribution). The distribution contains a file (plants.sql) which can be used to create the required table.

Here is a tar-ball that you can download.

Back to top

An Application Generator for Albatross

This is a Python code that generates the skeleton of an Albatross application from an XML description of an FSM (finite state machine). This is the beginning of my exploration of generating Web applications and Web services from a specification such as an FSM or PML (process markup language.

Here is documentation on the application generator.

And, here is the distribution for download iteself.


Last update: 7/3/02

Dave Kuhlman
[email protected]
http://www.rexx.com/~dkuhlman