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]> |
Sidnei da Silva wrote: > On Fri, Nov 18, 2005 at 05:53:19PM +0100, Martijn Faassen wrote: > | >AT paradigm Z3 equiv > | >--------- -------- > | >schemata Interface inheritance / multiple schema > | > | So what does schemata do in Archetypes? > > It's a stupid name for separating widgets in 'groups' for > presentation. Is this information in the widgets or is there a special group object? [snip stuff I think I understand] > | >marshalling a view? nothing currently > | > | What's marshalling exactly? > > Marshalling provides different 'marshalled' representations for the > data of a object. > For example, you can get a XMLMarshaller and spit out a xml > representation for a object's data and a schema. Think of it as an > adapter between (object, schema). It can also be used for the reverse > operation, populating a object's fields from a file representation. > > So if you have some XML, you run it through a marshaller adapter and > get your object populated. I.e. serialization/deserialization? Can I understand this as a one word description of what a serializer/deserializer would do or is it doing something else beyond this? > This feature is also very underused currently. I'm probably the > (only?) one that uses it. We hope to change that with the 'Marshall' > product, which lets you control which marshaller gets used through a > UI. Sort of a local adapter registry. I understood that Kapil's XML work was doing stuff with the marshalling functionality as well. One would imagine that this could be rewritten in terms of Zope 3 adapters and such eventually, or is marshall in Archetypes doing something particularly ingenious not yet supported by Zope 3? Is the goal of the marshalling support just import/export, or different representations for view purposes as well? In Silva the XML export system's product is not only used for export purposes but is also used to drive the XSLT transformations for individual content objects, for instance. 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