[Zope3-dev] Bringing the name game to a close, for now

Jim Fulton jim@zope.com
Mon, 10 Dec 2001 15:05:05 -0500


Martijn Faassen wrote:
> 
> Jim Fulton wrote:
> [snip benevolent dictator]
> 
> Okay, as what happens with any benevolent dictators, we'll be nipping
> at the edges. Well, at least I will in this reply. :)
> 
> > Here are my pronouncements:
> 
> [feature to adapter, even though it conflicts with intent in GoF]
> 
> >   Here is the "Intent" from the GoF pattern:
> >
> >    Convert the interface of a class into another interface
> >    clients expect.  Adapter lets classes work together that
> >    couldn't otherwise because of incompatible interfaces.
> 
> Hm, but how does this conflict with the what we're using adapters for
> in Zope?

In Zope 3, the things currently called adapters will usually be used
to provide new functionality. They will not only be used to translate
interfaces.

Jim

--
Jim Fulton           mailto:jim@zope.com       Python Powered!        
CTO                  (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org