XML on the wane? Say it isn't so, Jack
Summary: Is the 'X' in Ajax (Asynchronous JavaScript and XML) fading?
Jack Vaughan has got things all abuzz with a recent post that ponders whether XML's best days are behind it.
Is the 'X' in Ajax (Asynchronous JavaScript and XML) fading?
With the growing popularity of Rich Internet Applications an enterprise mashups, it's conceivable that we may see less and less XML, Jack speculates. "Like Pick or Fortran or other once-popular languages, it is conceivable that XML’s use will at some point decline."
For example, he quotes Yahoo Architect and JSON originator Doug Crockford, the original developer of JSON (JavaScript Object Notation), who says the protocol "was a reaction to complexity arising around XML. Such complexity did not make sense in simple Web applications."
Many applications written in Ajax (Asynchronous JavaScript And XML) "never go near XML," Jack adds. As he puts it: "The 'X' in Ajax is fading. Some would say Ajax and XML have forked. At the same time, those simple Web apps are growing in complexity."
I don't know if XML would ever go the way of Fortan or Pick, since these are programming languages, and XML is a meta language used in conjunction with programming languages. XML is at the foundation of many integration efforts, Web services, and SOA projects. We finally have something that's bringing together all the world's systems and data. I have a feeling there will be lots of XML around in the years to come. But, as Jack reminds us, nothing is invincible -- not even mighty XML.
Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.
Talkback
Ignorance is not bliss
1. Fortran or to us old people, FORTRAN.
2. Pick. See http://www-01.ibm.com/software/data/u2/ Not dead.
RE: XML on the wane? Say it isn't so, Jack
FORTRAN WATFIV sigh...........
it, usually the feeling passes very rapidly.
For 10 years...
It can be complex.
can be complex to use an XML API.
I can't find a single API where I can just hand it raw
text (with NO setup, NO extra commands, NO creation of
extra objects) and get a parsed, easy-to-navigate tree
back, or an API where I can hand it a parsed tree and
get the raw text back.
They always seem to make it more complex than
needed,asking for URIs, involving some extra setup
steps, using strange "stream" systems or some strange
thing.
Bah. Ain't worth it.
I would say it ain't so
JSON seems to be effective and simple to simple stuff, Google Protocol Buffers too. Too be honest I don't know much about either but I don't think they can replace XML yet when things get really complex.
So, Ajax might be dying (I myself "was moved on" from it since a couple years ago), but XML is a force in its on right.
RE: XML on the wane? Say it isn't so, Jack
Jacques Ledoux
RE: XML on the wane? Say it isn't so, Jack
Well, why then bother with objects either? I guess the opposite might me true as well. If not simple web applications, then use XML :)
RE: XML on the wane? Say it isn't so, Jack
{
blnResult = isUsingXML();
}
RE: XML on the wane? Say it isn't so, Jack
XML is designed to be accessed through a Document Object Model (DOM) which is also not a language, it's an API. (Any language will do)
XML was designed to be used as a means of sharing human readable data using commonly available tools, a simplification SGML, which had you writing parsers. The tools are there, and they are mature.
What I hope you meant to write about was that XML is not working in areas that it was not designed to work, i.e. as a language, good, it isn't one. It isn't a database either, another common misconception.
As a common data format it rocks and will continue to do so in the areas where it is not misunderstood and abused.
RE: XML on the wane? Say it isn't so, Jack
So JSON is more for people who like to hand code HTML :)
RE: XML on the wane? Say it isn't so, Jack
RE: XML on the wane? Say it isn't so, Jack
While I can't speak to the former use, I can assure you that as a document format XML will dominate and that dominance is only beginning.
Why? Office 10 formats are XML. Adobe's new formats are XML. Open Office formats are XML.
In SOA-land, XML may be on the downturn. In document format-land it's taking off.
RE: XML on the wane? Say it isn't so, Jack