[Zope3-Users] Schema fields vs custom metadata

Fred Drake fdrake at gmail.com
Fri Feb 23 14:46:05 EST 2007


On 2/23/07, Svenn Helge Grindhaug <Svenn.Helge.Grindhaug at bccs.uib.no> wrote:
> Are you talking about the same separation as Christophe did, create a
> ICourseDetail in addition to ICourse. That do not change the way the
> configuration is done, or does it?

It can be used to make describing access easier, and can also make it
easier to build forms using zope.formlib.  It's only an issue for
convenience of expression, but can make things easier to maintain as
the software evolves.

> Like this then?
...
>         <require
>             permission="zope.View"
>             interface="zope.app.container.interfaces.IReadContainer"
>             attributes="shortDesc"

Yup.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Every sin is the result of a collaboration." --Lucius Annaeus Seneca


More information about the Zope3-users mailing list