Base support for plone featurelets (i.e. feature plugins)
Project description
topp.featurelets provides an infrastructure for “featurelets”. Featurelets are feature plug-ins, little bundles of functionality that can be installed into a particular location within a Plone or CMF site. It’s a very simple concept, but is a bit hard to explain in the abstract, so a concrete example would probably be helpful.
In an OpenCore site, eg. http://www.coactivate.org, anyone can create a project. In these projects, we offer feature modules that can be turned on and off. The optional features that someone might want to add to her project include, for instance, blogging capabilities, or mailing lists. Each of these is a featurelet. The project, into which the featurelets are installed, is a “featurelet supporter”.
Featurelets are deliberately vague so that they can be flexible. Each featurelet contains a “package”, and when a featurelet is installed into a featurelet supporter this package is delivered to the supporter. Common operations associated w/ the delivery of a package include the creation of content objects and the registration of menu items; support for both of these operations are built into the featurelets core. It’s possible to make a featurelet do anything, however, provided the featurelet supporter can support the operations. To ensure this, featurelets support the idea of required interfaces; if a featurelet is installed into a supporter that does not implement or adapt to all of the featurelet’s required interfaces, an adaptation exception will be raised.
Requires Zope 2, version 2.10 or later, and CMF.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file topp.featurelets-0.3.0.tar.gz
.
File metadata
- Download URL: topp.featurelets-0.3.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f48ee3d5186336b9d01591a7fdd994170c92df28c3564e5a26ea42f4b6e5fe06 |
|
MD5 | 9ec2c494158fb19d2262ba12834bf117 |
|
BLAKE2b-256 | 524dadb3330783b46d4548d12dd522a3de32b348b6eabd63a3c47d585d810267 |