Revision 1941
Jump to revision: |
|
Author: |
pje |
Date: |
Tue Nov 23 20:37:48 2004 UTC (19 years, 5 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: