Jump to revision: | |
---|---|
Author: | pje |
Date: | Tue Nov 23 20:37:48 2004 UTC (19 years, 4 months ago) |
Log Message:
Added a new "attribute metadata" mini-framework to 'peak.binding'. This framework makes it possible to declare arbitrary metadata about attributes, using either a class advisor ('binding.metadata()', similar in form and function to the existing 'security.allow()') or using a 'metadata' attribute of attribute bindings (which is the second positional parameter in all the standard bindings like 'Make', 'Obtain', etc.). Over time, existing metadata mechanisms will be refactored to use this new mini-framework, instead of the various integrated ad-hoc mechanisms that exist now (like the 'permissionNeeded' attribute). For more information on how the new metadata hooks work, including doctest examples, see the 'attributes.txt' file in the 'peak.binding' package, under the heading "Attribute Metadata".
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/CHANGES.txt | modified | X | (diff to previous) | |
PEAK/src/peak/binding/attributes.py | modified | X | (diff to previous) | |
PEAK/src/peak/binding/attributes.txt | modified | X | (diff to previous) | |
PEAK/src/peak/binding/components.py | modified | X | (diff to previous) | |
PEAK/src/peak/binding/once.py | modified | X | (diff to previous) |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |