How can XML possible be fast or good for businesses??


Recommended Posts

Correct me if im wrong - i really dont know much about xml. the xml files ive seen are generally pretty large and there is a LOT of wasted space in the files - as in something like

<pre>

<option>something</option>

<option>something</option>

<option>something</option>

<option>something</option>

<option>something</option>

<option>something</option>

</pre>

The would take up a lot of processing to parse them, and thefiles as a result of all this would be really large..

How in the world is xml fast? (is it fast at all??)

why would businesses want to use xml, when there is mysql?

thanks

Link to comment
Share on other sites

I often think the same thing myself. I do not know the answer, hopefully someone else does. The way I see it, XML is great and all but what is so special about it? To me it looks like a cross between HTML code, an INI file and a database.

Link to comment
Share on other sites

I think XML is easy I guess. As in easy to understand. XML stuff is in that treeview sort of thing that makes for easy viewing. As for creating the XML or the file size, I can't say anything good about it.

Link to comment
Share on other sites

The point of XML is NOT to be fast, but to be an interoperable glue between many (or as some claim, all) systems and technologies. When you go for that as the goal, you need a language that lets you extend it in any way you want. This is partly the reason for such *wasted space" as you've come across.

See the XML in 10 Points document for a good description of the design decisions behind XML.

Link to comment
Share on other sites

XML isn't supposed to replace databases, it's main reason is interoperability between different applications. That's also the reason why most businesses start using XML to interface with other applications.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.