[Zope3-dev] n-tuple adapters
Chris Withers
chrisw at nipltd.com
Thu Sep 11 15:42:19 EDT 2003
Shane Hathaway wrote:
> I came to the conclusion that we need a more flexible adapter registry.
> A traversal component is an adapter, not a view. Adapters are always
> registered for one input and one output interface, but in this case we
> need two inputs. There is no shortcut like representing the two inputs
> as a single interface--that wouldn't work. So we need to expand the
> adapter registry to allow n-ary adapters (I once called them n-tuple
> adapters.) The tricky part will be to make it efficient. I suspect we
> don't need to worry about speed for an initial cut, though.
Didn't Steve A do some work on this a while back?
Chris
More information about the Zope3-dev
mailing list