- Apr 12, 2018
- 293
- 5
- 81
Hi, is it useful to learn these things? Given that there are applications like Dreamweaver that allow users to build websites easily, what is the point of learning these things?
XML is a more formalized solution and easier to use in complex situations.I wouldn't worry about XML at all. It's nothing more than a very basic file format. There isn't much to it, and if you do need it, it takes like 5 minutes to pickup. It's also pretty old technology and in the web world you will use JSON a lot more than XML.
<car>
<doors>3</doors>
<color>red</color>
<make>honda</make>
<car>
car: {
doors: 3,
color: 'red',
make: 'honda'
}
Maybe as long as you don't consider attributes. That's the whole point of XML. Migrating attributes to JSON turns it into a total mess.If anything, JSON is easier to use because it's smaller and more readable than XML is.
Well, so?Any modern API will accept JSON whereas you'd be hard pressed to find one that accepts XML, unless again, it's for old systems or is old.
I came back from work with a JavaScript usefulness story. ;-)Hi, is it useful to learn these things? Given that there are applications like Dreamweaver that allow users to build websites easily, what is the point of learning these things?
I don't see why it would be without syntax highlighting? Syntax highlighting is a great invention and should be used. The second best thing in code visualization after line breaks. ;-)With color coding, XML is very clear.
Without it, it's absolutely much worse than JSON.
It's good for anything really.Javascript is so helpful to know all by itself. It'll save you so much time when you don't have access to server-side code.