Gary Poster wrote:
> On Dec 2, 2009, at 11:09 PM, Martin Aspeli wrote:
> 
>> Gary Poster wrote:
>>> I think I could get fully behind the following proposal that
>>> others have made (Shane I think was one of several?).
>>> 
>>> IFoo.adapt(...)
>>> 
>>> IFoo.utility(...)
>> I could get behind this too.
>> 
>> We'd need the current IFoo(context, default) for single adaptation
>> to continue to work, and I *wouldn't* deprecate it with a warning,
>> since it'd just lead to a lot of warnings. We'd obviously also want
>> the existing get*() methods to continue to work.
> 
> Not sure which get* you mean (get* and query* in ZCA?) but generally
> agree that we are talking about adding, not removing.

Sorry, yeah - getMultiAdapter(), getAdapter(), getUtility() and their
query equivalents.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )

Reply via email to