[Zope-PAS] Re: decorator plugins
tseaver at zope.com
Tue May 3 21:25:43 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
J Cameron Cooper wrote:
> The file doc/framework_overview.stx talks of "decorator plugins".
> However, I can find no such thing in the code.
> It does, however, search for properties plugins and add property sheets
> to the user based on those (if they have data).
> Am I to assume that decorators are simply old terminology for property
It is a somewhat ill-chosen term for the plugins which are allowed /
expected to "scribble" on the newly-fabricated PropertiedUser: that set
includes the properties plugins, the group plugins, and the role plugins.
The name conveys a slightly off-kilter connotation, becuase it clashes
with the GoF Decorator pattern: in this case, the plugins decorate the
user object, rather than wrapping around another component, providing
the same interface but extending it (which is the pattern's intent).
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Zope-PAS