Re: Re: What does Five and Z3 mean for Archetypes?
Sidnei da Silva <sidnei-/awGbKECNgO/3pe1ocb+swC/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <20051121150552.GZ9554@cotia> |
On Mon, Nov 21, 2005 at 03:48:49PM +0100, Martijn Faassen wrote: | >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? Yes. It's the same as a serializer/deserializer. | >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. Kapil's XML work is a serializer. | 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? Yup, it's a perfect fit for adapters. No, it's not doing anything archetypes specific other than using the archetypes 'API' for getters/setters. | 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. Yes, using the marshall framework for views is one of my goals, though it's a bit cumbersome to get such a thing working right now it should be doable with minimal effort. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ------------------------------------------------------- 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