[Zope3-dev] Re: Field binding considered icky

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 1 07:10:38 EST 2004


On Thursday 01 April 2004 03:37, Philipp von Weitershausen wrote:
> >    - Introduce a dependency of zope.schema on zope.component.  Later,
> >      if we merge zope.schema into zope.interface, we'd introduce a
> >      dependency of zope.interface on zope.component.
>
> Alas, I consider the adapter machinery so crucial to component and
> interface-based Python apps that I would even go a step further and say:
> the interface registry implementation already is in zope.interface, why
> not move the whole adaption machinery there? Or at least to a package
> called zope.adapter, which we might have less of a problem to depend on
> than on zope.component.

It almost is. Look at the global adapter service and see how much it 
does...almost nothing. The work is done by the AdapterRegistry in 
zope.interface.adapter.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope3-dev mailing list