Re: What does Five and Z3 mean for Archetypes?

Raphael Ritz <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Organization Humboldt-University Berlin
Message-ID <[email protected]>
Sidnei da Silva wrote:
[..]
> | >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.
> 
> This feature is also very underused currently. I'm probably the
> (only?) one that uses it.

No, I've even written my own one (a BibTeX marshaller in
CMFBibliography to support drag-and-drop of BibTeX files
into Plone; but that's somewhat more involved as it has to
deal with flat representations of collections)

> 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'm very much interested in seeing this integrated. So far,
this limitation (that there is only one marshaller per schema)
has forced me to provide my own import/export handling including
UI.

Raphael




-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.