YOUR FEEDBACK
Chris Keene's Prescription for Curing the Java Flu
Rob wrote: I have to agree with Chris - I have been a developer and Java a...
SOA World Conference
Virtualization Conference
$200 Savings Expire May 16, 2008... – Register Today!


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
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
TODAY'S TOP SOA & WEBSERVICES LINKS


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

Digg This!

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.

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).
read & respond »
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.
read & respond »
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
read & respond »
XML JOURNAL LATEST STORIES . . .
EDI to XML: A Practical Approach
While EDI transactions account for most worldwide commercial activity, XML-based alternatives are beginning to gain traction. According to Forrester Research, stateful XML, stateless XML, and even flat file exchanges are all projected to grow at a faster rate than EDI over the next few
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
Red Hat is a trusted open source provider. Red Hat offers enterprise customers a long-term plan for building infrastructures on the quality and innovation of open source. Combining open source operating system platform, Red Hat Enterprise Linux, together with applications, management
JustSystems Contributes Key XBRL Rendering Technology to Financial Community
JustSystems announced that it is contributing intellectual property rights for its invention of eXtensible Business Reporting Language (XBRL) rendering technologies to XBRL International, the standards body responsible for the oversight of the XBRL specification. The invention, known a
JustSystems Launches Campaign for XBRL Success
JustSystems announced its campaign to help organizations adopt XBRL (eXtensible Business Reporting Language), the XML-based standard for communicating financial and business information. In related news, JustSystems also announced that it has contributed intellectual property rights of
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 XML NEWS
SAP Accelerates the Path to SOA for Customers
has led to customer requests for training and education involving SAP's proven design and de