View Full Version : Languages?
10-07-2011, 05:06 PM
What i am really after is some thoughts to how you guys use XML or just what you think about it and if MySQL is a good choice to work towards next.
Thanks in advance.
10-07-2011, 05:30 PM
Also what is the future of the WEB i hear something about Procedural/Declarative languages and the future is in declarative. I am a little confused of the difference but what are your views?
10-07-2011, 05:44 PM
I use xml all the time, and find it hugely useful. I have several sites that I need to "configure" in a variety of ways, one has a list of events (and associated prices, dates, options, etc), and others just have general "information" that needs to be easily configurable. I use the SimpleXML interface (all my sites are php driven) to pull up all this info at run-time. So it saves me hard-coding such information throughout the site. And I find it much easier to implement such configurations via xml than using a database for them.
I have another site that most likely should be database driven, but for the moment I am using quite the volumes of XML files for various data stores. I find it easy, but to some extent it's one of those sites that if I had to do a code review in front of my peers, I'd be a bit embarrassed to say that it was not using a database, but tons of xml instead. Large portions of the xml on this site are duplicated text, one for each of multiple languages.
So don't write off xml quite yet, I suspect you'll find reasons to use it.
10-08-2011, 08:18 AM
Thanks ill stick with it then. Just wanted to hear if it was worth having the skill even if i don't use it as such much. Thanks for your reply.
10-11-2011, 03:59 AM
XML is essential and useful for data exchange, so you should learn and understand it!
However, I would suggest you look at JSON as well, it is quite light and definitely less verbose than XML. That mean the transfer time for JSON data is more fast than XML, so it is widely used in the communication between mobile apps and server.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.