I've been won over by this article:
http://www.gamedev.net/reference/art...rticle1928.asp
He presents a couple of good use cases. I definately going to make use of it, just wondering if anyone else has and has anything to say (pros / cons etc).
I've been won over by this article:
http://www.gamedev.net/reference/art...rticle1928.asp
He presents a couple of good use cases. I definately going to make use of it, just wondering if anyone else has and has anything to say (pros / cons etc).
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
I'm currently using xml to handle data in my engine, but it's up in the python layer. I changed to it from flat name = value text files because as my game logic became more complicated it became necessary to have the ability to have multiple definitions of the same type in a file.
Illusion and reality become impartiality and confidence.
I think XML is appropriate only in web (because it's syntax almost is like HTML). You can use all the other types of databases in programming, why XML?
This is one of my thoughts, which are unacceptable to people who are just used to do things like the other people do.
Edit: You'll probably answer it's good to hold multi-layered data, which is true...
Last edited by maxorator; 11-14-2006 at 12:00 PM.
"The Internet treats censorship as damage and routes around it." - John Gilmore
Civ 4 uses lots of XML. I have no idea what for, though.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
>I think XML is appropriate only in web (because it's syntax almost is like HTML)
Huh? Just because it looks like HTML doesn't mean it's just for the web. Markup languages are for representing data, they can be used in (and are used in) many different domains.
Property sheets and other data are all handled by XML in MSVS 2005, AFAIK.
M.Eng Computer Engineering CandidateB.Sc Computer Science
Robotics and graphics enthusiast.