[Zope-dev] Re: SVN: Zope/trunk/ Moved two implements declarations
from Five into the proper classes.
Laurence Rowe
l at lrowe.co.uk
Tue Oct 23 15:41:00 EDT 2007
On 23/10/2007, Dieter Maurer <dieter at handshake.de> wrote:
> Laurence Rowe wrote at 2007-10-23 12:00 +0100:
> >Lennart Regebro wrote:
> > ...
> >> I guess we need to either actually implement the relevant interfaces,
> >> or split the interfaces into something that can be implemented...
> >>
> >
> >Preferably not too far down the class hierarchy. It would be useful for
> >things such as cmf's PortalFolder not to implement IContainer directly,
> >it makes non-zodb content much easier if an adapter can be used.
>
> Are you abusing adapters?
>
> If not, it should not matter whether the object implements
> an interface directly or whether an adapter is needed...
Possibly, but I just want the higher level CMF functionality without
assumptions about the lower level functionality (would not be a
problem in a pure zope 3 environment).
Laurence
More information about the Zope-Dev
mailing list