[Zope3-dev] Why this set of interfaces ?
Bernd Dorn
zope-mailinglist at mopa.at
Mon Jul 11 05:46:49 EDT 2005
Pupeno wrote:
> I am reading
> http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/contentobject.html
> and I am wondering about the choice of interfaces. Why not just making an
> interface IMessage(IContainer) (instead of IMessage(Interface)) and avoid
> having to make IMessageContained(IContained) and
> IMessageContainer(IContainer) ?
i think because of the preconditions - to define them you need IMessage
defined, which would not be the case in the class definition of IMessage
> Now that I think about it, it should be IMessage(IContainer, IContained).
> At any rate, I believe the answer should make its way into the book.
> Thanks.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/zope-mailinglist%40mopa.at
>
More information about the Zope3-dev
mailing list