On Fri, 26 Sep 2008, Bluebie, Jenna wrote:
> Times when xml is appropriate? How painful. Just use JSON if you need
"Spare him his life from this verbosity!" to misquote [Mercury, et al] :-)
But sometimes you have to talk to systems that use XML, work with people
who do, etc. So it's useful to know about, although last time I tried
to understand XSLT and its minders, the experience wasn't exactly pleasant.
> interoperability. Or you can of course grab activerecord or whatever and use
> sqlite too. :)
>
> SQL is probably one of the nicest options, as your app could progressively be
> saving the data out, instead of needing to serialize everything all of a
> sudden as soon as the user tries closing it.
Though even with YAML you can put out several documents to the same file,
thus not all at once. So, lots of ways to do this.
Hugh