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


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
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, 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
Enterprise Open Source Magazine Latest Stories . . .
Apache Deltacloud, the Red Hat-contributed ReSTful API that abstracts differences between clouds so services on any cloud can be managed – provided of course there’s a driver – has graduated from the Apache Foundation’s incubator and is now a full-fledged Top-Level Project (TLP). The...
With Cloud Expo 2012 New York (10th Cloud Expo) just four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and st...
AMD said late Tuesday that its chief sales officer Emilio Ghilardi had left the company and that CEO and president Rory Read is going to do his job while a replacement is sought. AMD didn’t say why Ghilardi left but it’s assumed Read wants his own people. Read is relatively new to th...
During the lifespan of M3 (Monitis Monitor Manager) there has always been something lacking – timers. M3 execution procedure was outlined in this previous article. The execution mentioned in the latter was a one-time-execution, whereas server monitoring requires periodic invocati...
Red Hat is putting its bought-in Gluster scale-out NAS storage technology, acquired in October, on the Amazon cloud. It’s styled Red Hat Virtual Storage Appliance for Amazon Web Services and other clouds are supposed to follow in short order.
A new episode of the screencast series is now available at the OpenNebula YouTube Channel. This screencast demonstrates the new easily-customizable self-service portal for cloud consumers. Its aim is to offer a simplified access to shared infrastructure for non-IT end users. The scree...
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