YOUR FEEDBACK
johnpetersen wrote: Great post. You hit some good points, and hopefully me sending this post. It wil...


2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
MXDJ TOP LINKS YOU MUST CLICK ON !


In Today's World of AJAX and Flex, Is XML Past Its Prime?
Is XML Overrated?

Is XML overrated? This is a question not asked lightly. It is a heavy and bloated question, much like XML itself. XML has been around since 1997. It is document based and it is extremely verbose.  It requires a higher payload across the network and cannot be natively used once it arrives. The XML payload must be consumed in some fashion.  None of these activities attribute to the speed of an application.

 
In today's world of AJAX and Flex, is XML past its prime? Does XML need to be regarded as a good idea whose time has come and gone? There are plenty of capable replacements available when using AJAX and Flex. Some examples that come to mind are JSON and AMF (Action Message Format). Both of these formats require smaller payloads and less processing on the receiving and sending endpoints. These data interchange formats are faster and less resource intensive than XML.
"XML still thrives on the strength of one key factor: its market penetration."
 
XML still thrives on the strength of one key factor: its market penetration. As clunky and obtrusive as it may be, XML is still a highly-used standard for data interchange between disparate systems.  Most application servers can accept XML and apply some layer of processing to the XML. EDI is a key driver to not only XML's perpetuation, but its very existence.
 
JSON ("JavaScript Object Notation") is a format that more and more languages are "learning" to consume.  It is, as the name implies, a standard object notation. Logic can be created to consume and serialize this notation into language-specific native datatypes. The only limitation to this would be language-specific object instances which cannot be serialized and de-serialized. If more systems were to use JSON for data interchange, in lieu of XML, the payload would decrease and application performance would increase because the parsing of an XML document still outweighs the de-serialization of a JSON string.
 
Where does this leave the first question? Is XML overrated? There are compelling arguments on both sides of the aisle, but the answer lies in individual preference. If a developer is more comfortable with XML, it will be used.  If they are more comfortable with an alternative data interchange format, that format of preference will be used. 

Either way, XML will continue to exist; but its days may, indeed, be numbered.
About Andrew Powell
Andrew Powell has been architecting and developing Web applications for over 10 years using ColdFusion, Java, ASP.NET and ASP. His background includes experience running IT Departments for firms in the executive search and aviation consulting fields. You can read his blog on everything ColdFusion, Java, Spry, & Flex at www.infoaccelerator.net.

YOUR FEEDBACK
Dorai Thodla wrote: That is a very narrow view of XML. AJAX works by exchanging XML fragments with the server app. JSON may replace XML here. Flex in addition uses XML to describe the UI itself (like XAML and XUL). XML is not just about user interface. It is also used for data exchange, object communication (webservices), creating several industry specific vocabularies (fixml, acord).
Dennis Muzza wrote: For simple data exchanges between a web client and its server within the same application it's probably more practical to use JSON or Flex, but before writing XML's obituary let's not forget that it provides the syntax for web services (the basis of SOA) as well as a myriad markup languages, some of which have by now solidified as industry standards. I personally think that XML is by far the best that ever happened to enterprise data exchange, which for decades had been hindered by mutually incompatible custom EDI formats. This doesn't mean that XML is immortal, but given its traction it will probably stay around for a while and the problems associated with payload verbosity will be resolved sooner or later by better compression algorithms, possibly at the network hardware level, making it transparent to enterprise users.
Jurgen Van Oosterwijck Blogs wrote: Trackback Added: Is XML past its prime?; In Today's World of AJAX and Flex, Is XML Past Its Prime? ? Does XML need to be regarded as a good idea whose time has come and gone? There are plenty of capable replacements availabe when using AJAX and Flex. Some examples that come to mind are J
LATEST FLEX STORIES & POSTS
Adobe and ARM are gonna put Flash Player 10 and AIR, the stuff of web video and rich Internet apps, on ARM widgets by the second half of next year. They mean phones, set-tops, MIDs, TVs, car mojo and personal media devices, which have so far only had access to Flash Lite, not the best ...
I spoke on a panel at Mashup Camp this week on why Ajax Standards matter. I was quoted by Doug Henschen of Intelligent Enterprise as saying that we are locked in a struggle for the soul of the web, so I thought I would expand on that theme. Just because the web has been open so far doe...
Notes from the openning day of Adobe MAX 2008
Of all domestic air carriers, I like Continental the most. They showed Mamma Mia and the food was bearable. Last month, I was in the air for 14 hours flying to Japan, and now the trip across the USA is a piece of cake. I have only carry luggage with me. This small bag has all the cloth...
I’ll just give you one example. Last week my colleague and I were running a private Flex workshop for software architects of a large corporation who are about to start development with Flex. Needless to say that they are smart and experienced software professionals. Some of them alre...
AIR adds to Flex has a pretty straightforward API for working with local files and directories. There is a simple mechanism of installing and upgrading AIR applications. If you want, you can digitally sign them too. AIR 1.5 introduces local encryption, which means that you can encrypt...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE