[Zope3-dev] TTW Schema-based content types

Steve Alexander steve@z3u.com
Mon, 04 Aug 2003 21:31:58 +0300


>> For generating the so called TTW Schema, there is some stuff in
>> place under the schemagen package, that Steve and Faassen wrote up
>> back in December. No one seems to be using it, AFAICT, but it looks
>> like we can get very close to what we want by starting from there.
>> Any objections?
> 
> I didn't think schemagen actually had a schema editing UI.  I think
> the emphasis in schemagen is to generate classes, and maybe schema in
> persistent modules. IOW, it generates code.  This was driven by the
> fact that persistent classes must be in modules. Schemas need not
> have this limitation. And if you don't generate a class, there's no
> class code to put in a module.

It was also driven by wanting to create a successor to ZClasses where 
there's an easy migration between autogenerated classes and python code 
that can be edited by hand.

--
Steve Alexander