[Interface-dev] [Fwd: Re: Interfaces status and coordination]

Jim Fulton jim at zope.com
Mon Jun 14 17:18:12 EDT 2004


Jim Fulton wrote:
> Glyph Lefkowitz wrote:
> 
>> On Fri, 2004-06-11 at 08:19, Jim Fulton wrote:
>>
>>
>>> But ... we have this new religion of adapters that tells me we should
>>> be able to do this without resorting to subclassing. Of course, this
>>> would require some long-overdue changes to the way the current interface
>>> implementation works internaly.
>>
>>
>>
>> I wish I had a better way to describe this, but working with Imagination
>> (the most exhaustive use of a components system that I've got experience
>> with) I've come to believe that a component system actually enhances the
>> value of subclassing in certain conditions.  Adapters are for combining
>> and adding functionality.  Subclassing is for changing and overriding
>> functionality.  This seems to fall squarely into the latter category...
> 
> 
> I see adapters as a way to change functionality too. Or, more specifically,
> I find adapters to be a way to distribute functionality among components
> with low coupling.
> 
>> What are the changes you are referring to in the internals though?
> 
> 
> See: http://dev.zope.org/Zope3/SpecificationUnification

I've replaced this proposal with:

   http://dev.zope.org/Zope3/InterfaceAttributeDefinitionAdapters

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org



More information about the Interface-dev mailing list