Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Recomendations for a good file format to save graph files.

by blahblahblah (Priest)
on Mar 25, 2009 at 00:03 UTC ( #752983=note: print w/replies, xml ) Need Help??

in reply to Recomendations for a good file format to save graph files.

I've been pondering a similar problem lately, so I'd like to piggyback on the OP's question. We currently use a messy mix of YAML, JSON, and other homegrown formats to store various pieces of configuration data in our app. We are planning on writing a couple of features soon which depend on representing the entire system configuration in one big text file. We're leaning towards XML, because of a similar requirement to the OP's: that the file be easy to read and manipulate in languages other than Perl.

I am slightly worried that we don't know what we're getting ourselves into, and that the one-big-file is going to wind up being just as much of a nightmare to deal with as our current hodgepodge of separate files. Can anyone suggest good resources for reading up on this? Is there a public library of standard XML formats, so that we won't have to re-invent the wheel? Is a well-designed DTD our magical answer for other languages? Has anyone traveled a similar path and learned any good lessons?

Thanks, Joe

  • Comment on Re: Recomendations for a good file format to save graph files.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://752983]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2019-05-22 20:56 GMT
Find Nodes?
    Voting Booth?
    Do you enjoy 3D movies?

    Results (140 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!