| By Date: | <-- --> |
| By Thread: | <-- --> |
--On 24. MÃrz 2006 11:07:06 -0500 Jim Fulton <jim (at) zope.com> wrote:
Andreas Jung wrote:Zope supports the export of content either through Python pickles (.zexp) or as XML. Unfortunatly the XML export/import has several problems:
- the generated XML is pretty much too low-level to use it e.g. for migration issues
I have been working on a Zope 2 project lately and have found XML export to be extremely usable. Templates and other large strings are enclosed in CDATA sections, which make them surprisingly readable.
We've had sucess writing XSLT templates to transform the pickle data into formats easily parsable for particular applications.
That's a good argument :-)
- it was broken multiple times in the past, it still has problems
How so?
- it has no maintainer, nobody wants to touch it without gloves
Is that any more true than for lots of other things?
As I said above, I've been finding it surprisingly useful lately.
When I first wrote it, I viewed it as someowhat of an academic exercise, but I've come to realize that it is far more useful than I originally thought.
I still have the impression that the implementation was made an academic excercie rather than something stable for production (.zexp works fine for production).
This is more so now that XSLT is widely used and quite capable of transforming the pickles into useful forms.
Note that, IMO, there isn't likely to be a more generally useful form because usefullness is generally determined by a particular application. XSLT + XML pickles together provide a general mechanism that can adapt to particular application needs.
In this case it has to be fixed if it should be used a general mechanism.
I think the XML export is a facility that is and should be advertized as a legitimate escape hatch for data kept in Zope. People really shouldn't feel afraid of putting data in Zope/ZODB as there really is a useful way to get it out.
Andreas
----------------------------------------------------------------------- - Andreas Jung ZOPYX Ltd. & Co KG - - E-mail: info (at) zopyx.com Web: www.zopyx.com, www.zopyx.de - -----------------------------------------------------------------------
Attachment:
pgpl80meyv9sy.pgp
Description: PGP signature
_______________________________________________ Zope-Dev maillist - Zope-Dev (at) zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )