[Zope-dev] Re: [Plone-developers] zcml entry points

Dieter Maurer dieter at handshake.de
Sat Oct 27 14:38:21 EDT 2007


Martijn Faassen wrote at 2007-10-24 18:38 +0200:
> ...
>I
>disagree with the position that should not ever treat an adapter
>registration as an implementation detail to provide some default
>behavior. Sometimes the behavior of a library *relies* on certain
>adapters being registered. An example is an adapter registration to
>generate an appropriate error message (if no more specific adapters
>are registered by the user of the library).

But requiring that a more specific adapter must be registered can
be a bit tedious -- as it may require to define an additional (and unnatural)
interface that derives from the original one -- just to be able
to register a more specific adapter...



-- 
Dieter


More information about the Zope-Dev mailing list