Am 21.03.2011, 20:33 Uhr, schrieb Tres Seaver <>:

> FWIW, I just added 'queryAdapterFactory' and 'queryMultiAdapterFactory'
> APIs to zope.component on a branch:

> These APIs make the "almost never overridden" / dependency injection
> case as compact for adapters as for utilities.

This is an excellent suggestion! Being able to supply a default  
implementation that is easily overridden by a configuration is clean and  
easily understood and avoids both clumsy code checking and configuration.

Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to