Re: zope 3 schema's and the rest of us
Roché Compaan <roche-kb4xc5yObU3kQYj/0HfcvhBnub05S5/[email protected]> Thu, 13 Jul 2006 19:56:20 +0200
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <1152813380.22107.63.camel@kwaaitjie> |
On Thu, 2006-07-13 at 14:57 -0230, Rocky Burt wrote: > On Thu, 2006-13-07 at 19:20 +0200, Roché Compaan wrote: > > 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). > > +1 here. Separation of concerns is a good thing and has been proven as > such over and over again. > > > 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 ;-) > > Well, it seems that everyone has ideas on what would make their life > easier in this new AT/zope3 hybrid schema world. Probably would be good > to compile a list at some point. But as for your comment specifically, > zope.formlib should already do what you're talking about. It generates > full pages based on z3 schema's. Or are you referring to the fact that > you want the same number of views auto-generated as AT currently does? > (base_view, base_edit, etc) It's been to long since I last checked out z3 so I don't know exactly how much UI it can generate for me. In very simple terms I would like to specify a schema and have the framework do as much for me as possible without making it difficult to customise it afterwards. In less idealistic terms, if I define a schema and the framework generates a view and edit form for me, my job as developer is made a lot easier. Both AT and z3 already do this, z3 just has nicer design. In essence what I am saying is, rather than trying to "adapt" AT to z3 I would rather port what works well in AT to z3 and then drop AT. I would, very simply: 1. Port missing fields 2. Port missing widgets 3. Rewrite content types It's only 3 steps, it should work ;-) -- 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