Re: zope 3 schema's and the rest of us

Roché Compaan <roche-kb4xc5yObU3kQYj/0HfcvhBnub05S5/[email protected]> Thu, 13 Jul 2006 19:20:37 +0200
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <1152811237.22107.33.camel@kwaaitjie>
On Thu, 2006-07-13 at 14:18 -0230, Rocky Burt wrote:
> On Thu, 2006-13-07 at 12:03 -0400, whit wrote:
> > rocky, do you think it would be possible to adapt a z3 schema to act 
> > like an AT schema? I realize the big issue here is the manipulation of 
> > subobjects but do you think it might be possible if we changed AT a bit?
> 
> Perhaps.  The big thing is that Archetypes schema's are about data
> definition as well as UI for that data.  Zope 3 schema's (as you know)
> are only for data definition, not UI.  This is where the separated
> widget stuff in zope3 tries to step in.  formlib has a huge set of
> reusable utility functions for building up widgets based on form fields
> based on schema's so that'd would definitely be some code to look at.

The fact that UI definition is so tightly coupled with AT Schema
definition is bad design in my opinion (even though it may be convenient
at times). Personally, if one can port AT widgets that don't have z3
equivalents and implement a reference engine, I wouldn't mind doing the
rest of the work and redefining my AT schemas as z3 schemas.

> > I'm fine to think of these as different ways to solve similar problems, 
> > but I'm looking for a tipping point to make them compelling working 
> > together.
> 
> Indeed, this touches on a conversation Rob and I had on IRC today.  We
> need to make some level of interoperability so that people can migrate
> piece by piece.  Perhaps giving formlib the ability to generate views
> based on AT schema's would be a good first step.

I don't necessarily want views generated from AT schema's. What I would
like, is that I get the same amount of boilerplate views generated from
a z3 schema as with the current AT. I'll do the rest an convert the AT
schema to a z3 schema. That and references would be bliss ;-)

-- 
Roché Compaan
Upfront Systems                   http://www.upfrontsystems.co.za



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Archetypes-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/archetypes-devel