[Zope3-dev] zwiki: performance of findChildren()
Steve Alexander
steve@cat-box.net
Tue, 06 May 2003 17:05:23 +0200
> For general purpose relationship management, one would hope that new type of
> relationships can be bolted onto existing legacy, and dumb objects. At the
> same time, one would hope not to have to call a service or function external
> to the object just to get its relationships. Wrapping an object would
> accomplish both, with only a bit more work, I think
Right.
This comes under the general heading of "decorating objects with
context-specific functionality".
The ZopeContainerAdapter class is an example of this. However, it is an
adapter when it should be a decorator.
--
Steve Alexander