[Zope3-dev] Re: Boring product for Zope 3

Morten W. Petersen morten at nidelven-it.no
Sat May 22 00:54:29 EDT 2004


Philipp von Weitershausen wrote:

> Also, you might want to declare that IBoring is a content type 
> interface, i.e. that it describes a content type, not some other type 
> of object. You do that in ZCML with:
>
>  <interface
>       interface=".interfaces.IBoring"
>       type="zope.app.content.interfaces.IContentType"
>       />


The same effect can be achieved by letting the IBoring interface
subclass IContentType in python, right?

If so, why use ZCML?

-Morten



More information about the Zope3-dev mailing list