[Zope-dev] improving the utility and adapter lookup APIs
Tim Hoffman
zutesmog at gmail.com
Sat Nov 28 17:57:44 EST 2009
Just re-inforcing this I almost never do IFoo. adaption as I am almost
always using
multiadapters and utilities so I completely forget about the IFoo
adaption capability.
Which means I always just write getAdapter as well as it seems more
consistent to
from an api consumption point of view.
T
> Interesting. If you mostly do multi-adaptation (and utility lookups) you
> won't notice it as we know multi adaptation cannot be done with the
> adapter hook. Was this the case?
>
> I really have trouble remembering the lookup APIs in zope.component
> myself. People in my experience actually *try* to do multi adaptation
> using the IFoo adapter hook and then get confused because it fails.
>
More information about the Zope-Dev
mailing list