[Zope-dev] Re: View component registration

Christian Theune ct at gocept.com
Thu Jun 19 10:46:14 EDT 2008


On Thu, Jun 19, 2008 at 09:46:35AM -0400, Jim Fulton wrote:
> I suggest:
>
> - decide on and advertise the new interface
>
> - continue to do look ups the way we do now
>
> - update relevant zcml directives (view, page, resource. etc.) to use  
> the new interface
>
> - issue informative deprecation warnings when we register adapters  
> providing Interface.
>
> - Later, switch to looking up using the new interface.  Maybe make this 
> an application option so that people can choose to use the new interface 
> sooner.

+1

Would it be reasonable to also issue a warning if someone does a lookup for
Interface?

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development


More information about the Zope-Dev mailing list