# Webware for Python

Release 0.9 on 11/13/05

## Synopsis

Webware for Python is a suite of software components for developing object-oriented, web-based applications. The suite uses well known design patterns and includes popular features such as:

- An application server that is fast, multi-threaded, easy to use.
- Good error handling. A crash of one page will not crash the application server. Exception reports are logged and easy to read when developing.
- Servlets. Similar to Java servlets, they provide a familiar basis for construction web applications
- Python Server Pages (PSP, similar to ASP, PHP and JSP)
- MiddleKit, an object-relational mapper. MiddleKit facilitates storing objects in an SQL. It is one of the strongest and components in Webware.
- Simplicity. Webware's code is quite simple and easy to understand if you feel the need to extend it.
- Task scheduling
- User management and authentication
- A CGI wrapper

Key goals of the project include:

- Python- and object-oriented.
- An expansive suite of components and features to cover common needs of web developers.
- Modular architecture where components can be used together or independently.
- Excellent documentation and numerous examples.
- Open source development and community.

## Feedback and Support

You can e-mail webware-discuss@lists.sourceforge.net to give feedback, discuss features and get help using Webware. You can visit the webware-discuss page to join the list.

## Installation

See the WebKit Install Guide.

## Automated Tests

Webware includes a suite of automated tests to make sure everything is working on your platform. To run the tests, go to the Webware root folder and run python AllTests.py . The first time you run the tests, it creates a file AllTests.config. This file has configuration options required for some tests to run, such as database connections. If you don't adjust this file, then any tests that need a database are skipped. The file includes comments that describe each option. You should find it easy to understand.

If some of the tests fail on your system, please enter it on the Bug Tracker link of the Webware home page. Also, if you find a bug that doesn't show up in the automated tests, it will be much easier for us to fix if you can submit a test case with your bug report.

## Components

Each Webware component has a focused purpose and can often be used on its own. At the same time, the components are designed to work together where appropriate. You can use as much or as little of Webware as you want to.

The components are summarized in the Component Index.

Most people start with WebKit, which is the Webware application server.

## Status

Webware is already being used for real work by a variety of people in different environments. With support from the webware-discuss mailing list, you should feel comfortable developing with Webware.

In the Component Index you will see the status of each component such as alpha and beta. For beta components we are successfully striving for backwards compatibility of the API as the components mature.

You can keep up on new releases through the very low traffic announcement list and the home page at http://www.webwareforpython.org.

## Contributing

Webware could always use contributors in various areas, some of them lightweight and some of them not. Consider all the fun things you could do:

- Test pre-releases on your favorite OS, web server and version of Python. (lightweight)
- Write custom WebKit adapters for your favorite web server for enhanced performance. (fairly lightweight)
- Write an article about using Webware. (middleweight)
- Write a tutorial. (middleweight)
- Build up regression test suites to help with testing and ensure future stability. (middleweight)
- Contribute to the implementation of components such as WebKit and PSP. (heavyweight)
- Contribute something else you might think of that we haven't.

If you are interested in contributing please contact webware-discuss@lists.sourceforge.net.

## Summary Information

Home: | http://www.webwareforpython.org
Version: | 0.9
Requirements: | Python 2.0 Tested on UNIX (FreeBSD, Linux, et al) and Windows (XP, 2K, NT, Me, et al).
Status: | beta
Announcements: | join: http://lists.sourceforge.net/mailman/listinfo/webware-announce (very low traffic)
Discussion: | e-mail: webware-discuss@lists.sourceforge.net join: http://lists.sourceforge.net/mailman/listinfo/webware-discuss
Copyright: | See the Copyright, License and Disclaimer.
Primary Authors: | Chuck Esterbrook, chuckesterbrook@yahoo.com Jay Love, jsliv@jslove.net Geoff Talvola, gtalvola@NameConnector.com
Other Contributors: | Ian Bicking, ianb@colorstudy.com Tom Schwaller, tom.schwaller@linux-community.de Stuart Donaldson, stu@asyn.com Jason Hildebrand, jason@opensky.ca Christoph Zwerschke, cito@online.de and others

## Design Points

- Webware is pro-Python. These software components are not about Java, C++ or any other programming languages.
- The various software components are meant to be accessible in a stand alone fashion except in those cases where one component builds on another. That doesn't preclude the idea that the components can provide hooks for integration or even automatically integrate other components when their presence is detected.
- A clean, object-oriented style of development is used as much as possible.
- However, Webware components don't provide a special class for each type of HTML tag. It's generally easier and more efficient to use strings like '<br><hr>' than to say something like 'BreakLine() + HorizontalRule()'.
- Documentation is meant to be of the highest caliber so that users can more quickly get up and running with Webware.
- All components are accompanied by examples (that also serve as tests).
- Over time, regression tests are created and expanded upon for each component.
- Although Webware includes more than one independent component, it's not intended to be a hodge-podge repository of any kind of web component written in Python. New components should fit into the 'feel' of what's there already and provide integration with other components wherever possible. The emphasis is on high-quality, object-oriented components (with the mild exception of the utility collections, MiscUtils and WebUtils).

## Release Notes

See the global Webware release notes and the release notes for the various components, particularly WebKit.

## Thanks to...

Members of webware-discuss and python-web-modules for discussion and feedback.

SourceForge for hosting Webware for Python

Guido van Rossum for Python