Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News

SYS-CON.TV
Cloud Expo & Virtualization 2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Cloud Computing & Enterprise IT: Cost & Operational Benefits
How and Why is a Flexible IT Infrastructure the Key To the Future?
Click For 2008 West
Event Webcasts
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, Flex & AJAX at www.infoaccelerator.net.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

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).

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.

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


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 Cloud Developer Stories
Citrix has opened up a beta of its CloudStack 3, the first release of the open source cloud platform under the Citrix brand. Citrix acquired the Java-based cloud management last year when it bought Cloud.com. A full production version of the branded stuff is supposed to be avai...
EMC and VMware are going into the cloud business with Atos, the big, publicly owned, Paris-based global IT services firm, intending to take an equity position in Canopy, an end-to-end cloud company Atos is setting up using EMC and VMware technology. The companies said Wednesday...
A Tel Aviv start-up called Porticor that’s just hit the radar says it’s got a way to secure the cloud, any cloud. Fancy that, a trustworthy cloud. And Porticor delivers its data encryption solution to IaaS and PaaS users through the cloud in minutes. Fancy that. It’s supposed...
Rackspace Hosting, the service leader in cloud computing, on Thursday announced its acquisition of SharePoint911, an industry leader in SharePoint consulting, training, and "JumpStart" services within SharePoint. The unification of both companies provides capabilities to deliver ...
"The volume of data we're generating now from machines pales in comparison to the volume of data we'll soon generate from our own bodies," says data security expert Dave Asprey. Writing in a Trend Micro blog, Asprey - who is one of the leaders in the emerging Quantified Self move...
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

Breaking Cloud Computing News
Cut the Rope, the worldwide phenomenon created by global gaming and entertainment company ZeptoLab, ...