Re: Re: What does Five and Z3 mean for Archetypes?
Martijn Faassen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
whit wrote: > <snip> > >> >> I see the argument, but can you be a bit more specific? What, >> practically, can a >> simple Z3 schema not do (validation? default values?), and how would >> you get >> that same functionality in a pure Z3 world? > > > ok...let me try to chart this... Okay, a commentary on this... > AT paradigm Z3 equiv > --------- -------- > schemata Interface inheritance / multiple schema So what does schemata do in Archetypes? > storage adapters for getting and setting Do annotations fit in somewhere? Zope 3 doesn't have a storage framework yet, so I think Zope 3 has some work to do here. ZPatterns gurus speak up.. :) > a widget 3 views / 2 z3 schemas (search, edit, view) Views for fields (i.e. sub page views) are called "widgets" in Zope 3 as well. An AT widget contains both a search, an edit and a display facility? Zope 3 right now has a pattern of separate edit and display widgets. I don't know what the equivalent of 'search' would be -- what does this do in AT? > a field z3 content object or an attr on a z3 content object Okay, and to avoid confusing, Z3 does use the word "field", but for that's for the attribute declaration on the schema/interface, i.e. we have Text fields, Int fields and the like. > a reffield nothing currently What do reffields do in AT? > marshalling a view? nothing currently What's marshalling exactly? > AT schema nothing in at gives a cohesive representation of > an entire "type". if if any of you saw ben wisdol talk > you may remember the importance of this for dealing with > webservices and other strongly typed systems. Do you mean nothing in Archetypes or nothing in Z3? Could you go into this a bit more? Zope 3's story feels a bit 'scattered' right now, and I think it would be nice for some usecases to be able to have the whole definition of interface/schema and form in a single place without too much redundancy. I should experiment with the feel of placing all this in the same file in Zope 3... Regards, Martijn ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click