Re: Non-ZCML config for ZCA. (Was: Anyone want to do Google Summer of code mentoring for PSF?)

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Organization Clark Consulting & Research
Message-ID <[email protected]>
Am 21.03.2011, 20:33 Uhr, schrieb Tres Seaver <[email protected]>:

> FWIW, I just added 'queryAdapterFactory' and 'queryMultiAdapterFactory'
> APIs to zope.component on a branch:
>  http://svn.zope.org/zope.component/branches/tseaver-queryAdapterFactory/

> 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
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.