[Zope3-dev] Use of 'adapts' in Zope core

Garrett Smith garrett at mojave-corp.com
Tue Feb 8 14:37:15 EST 2005


When we create adapters in the Zope core, should we start to use
`adapts` when we can?

If we use `adapts`, should we omit the `for` attr in the ZCML?

I routinely refer to the ZCML to see what adapters are configured for
what interfaces. If we start omitting this information in the ZCML, we
add another lookup step to figure out what's going on.

Then again, maybe this is not bad.

 -- Garrett


More information about the Zope3-dev mailing list