Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re(5): XML for databases?!?! Is it just me or is the rest of the world nutz?

by mirod (Canon)
on May 24, 2002 at 15:56 UTC ( [id://169123]=note: print w/replies, xml ) Need Help??


in reply to Re(5): XML for databases?!?! Is it just me or is the rest of the world nutz?
in thread XML for databases?!?! Is it just me or is the rest of the world nutz?

By all means, if you are more at ease with CSV use CSV. It might be really well-suited to what you are doing and you might not need anything else. I will also be the first to admit that XML is no silver bullet. If people want to throw garbage at you they can throw XML garbage just as well as they would send you useless CSV.

OTOH in the real world XML takes care of encodings (ever received UTF-8 data when you were expecting "regular" latin1?), most people feel that it is more self-documented than CSV. It is also more flexible: it can model more than just tabular data and it is relatively easy to write XML code that can survive moderate changes in the input format (such as new element types being added) without upgrading. The tools are also pretty good, at least on par with the tools you can find for CSV.

In short there is really no need to change all of your tools and all of your processes just to become buzzword-compliant. I don't think any one is advocating this BTW. So stick to CSV if you want to.

I just want to point out that there is really no need to try to convince people that CSV is better than XML. XML is just a rather powerful and well thought-out low-level standard for documents and data interchange. I hope you don't spend your days writing low-level CSV code and that the main logic of your applications is a little bit more interesting ;--) So really whether the underlying format of the data is CSV or XML is not that important. Choose the one you are comfortable with, provided it's powerful enough to work now and in the future.

You know, I rather like ASCII myself, but I don't really try to convince people who use Unicode that they stuff is useless, and I must admit that sometimes 8 bits just don't cut it and I use Unicode.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-19 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found