A Database Independence and Framework Integration Pattern Language for Zope
Copyright 2000, 2001 Phillip J. Eby and Tyler Sarna - All Rights Reserved. This software may be used, modified, and distributed, under the same terms as Zope itself.
If you are upgrading from an earlier ZPatterns release, please read the CHANGES.txt file for important information about updating.
CHANGES.txt
The ZPatterns product provides a variety of base classes and frameworks for Zope product and application development. Some currently available patterns include:
Implementors
Currently, these patterns are used by the LoginManager product which uses Rack as a base for UserSources, PlugIn as a base for LoginMethods, and Specialist as a base for LoginManager itself. Thus, by creating Attribute or Sheet Provider objects, you can extend LoginManager's capabilities, as well as the capabilities of any other systems built on Racks and Specialists.
To support AttributeProviders and other useful features, ZPatterns 0.3.0 includes a C extension which must be built before the product can be used. After unpacking the ZPatterns product, you will need to build this extension using the included Setup file in the ZPatterns directory. If you are not building ZPatterns in the lib/python/Products directory of your Zope installation, you will need to edit the Setup file to reflect the correct paths to the include files it wants. Please follow the standard procedures for building a Python module on your platform. (On Unix-ish systems, this usually consists of copying a Makefile.pre.in to the directory, then doing a make -f Makefile.pre.in boot followed by make.
Setup
Makefile.pre.in
make -f Makefile.pre.in boot
make
Once the extension is built, restart Zope to install the product. Then, if you are upgrading from a previous version of ZPatterns, follow the upgrade procedures in the CHANGES.txt file to update classes and instances of objects based on the previous version of ZPatterns.
You can now use the Zope built-in help system to read LoginManager and ZPatterns documentation, or see the Products/ZPatterns/help directory. At present, only the TODO and CHANGES files exist.
Please also see the ZPatterns Wiki
Also, the ZPatterns are based on the RIPP pattern model presented by Phillip Eby at the Zope Track of IPC-8. There is a PowerPoint presentation of that talk available. (Also available in HTML format )