|
I would have to respectfully disagree with part of what you're saying
here. Storing data as XML in a text file can get pretty nasty when you later want to manipulate it from CFMX. Let's say you have the following: <company> ááá <employee> ááá áá <firstname></firstname> ááá áá <lastname></lastname> ááá </employee> ááá <employee> ááá áá <firstname></firstname> ááá áá <lastname></lastname> ááá </employee> </company> Now, I store this in an XML file and at some later stage I want to add a new employee. The code required to do this is ugly at best, and that's for a simple XML document. When you have a document that goes down to 5 or 6 levels, and you want to add a new node somewhere deep down in the structure can be plain nasty. In short, there can definitely be times where you'll regret it over using a database, Spike Ayudh Nagara wrote: ---Whenever you need to store data records in a plain text file, it's a job for XML. It's not that hard to get into and once you've set it up, you'll never regret the flexibility it offers. If you're only using the data within CF, maybe use WDDX which provides some nice shortcuts.Regards: Ayudh +--------------------------------------------------------------+ | Put money in your bank while you're on the road. | | Secure credit card payment by SMS messaging. | | VeriPay mPOS from Xilo Online: http://www.xilo.com/mpos | +--------------------------------------------------------------+ ----- Original Message ----- From: "Gareth" <[EMAIL PROTECTED]> Newsgroups: cfaussie To: "CFAussie Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 08:57 Subject: [cfaussie] Re: Anyone got any ideas on a list You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ |
