View Single Post
Old 09-09-2012, 04:53 PM   PM User | #2
Alex Vincent
Moderator


 
Join Date: May 2002
Location: Hayward, CA
Posts: 1,427
Thanks: 1
Thanked 19 Times in 17 Posts
Alex Vincent is on a distinguished road
Quote:
Originally Posted by metcala View Post
I was planning on using an XML document to store various schedules and using javascript to return the appropriate plan. I just wanted to know if this is a logical way to approach this?
First impression: Ask yourself the question: "Why not use a combination of PHP and MySQL?"

Generic XML is one of those technologies that you really need a good reason to use. What you're talking about sounds more like a database, which XML is poorly suited for. Its wordiness works against you.

XML is okay for transferring the information, but even raw data like this might be better off in JSON.
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent is offline   Reply With Quote