[Zope3-dev] Re: directives zope:class and zope:content

Philipp von Weitershausen philipp at weitershausen.de
Thu Apr 29 06:03:17 EDT 2004


Eckart,

> can somebody tell me, what is the difference between the directives 
> zope:content and zope:class ?
> 
> They have the same definition in zope/app/component/meta.zcml .
> 
> Is this just a historic relic, or do I miss something ?

Indeed. They're identical.

> ( The zope:class directive seems to be used only in the apidoc 
> configure.zcml's and in the dublincore configure.zcml )

I personally prefer using "zope:content" for content types and 
"zope:class" for other classes that need configuration (such as 
security). But that's just me :)

Maybe we should get rid of one...

Philipp




More information about the Zope3-dev mailing list