YOUR FEEDBACK
Working at Google vs. Working at Microsoft
Ray the Barbarian wrote: I worked at Microsoft Research, and I had an in p...
SOA World Conference
Virtualization Conference
$50 Savings Expire June 24, 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
TOP LINKS YOU MUST CLICK ON


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 »
ENTERPRISE OPEN SOURCE MAGAZINE LATEST STORIES . . .
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe launched AIR 1.0 in February '08 and Microsoft launched Silverlight (September '07). At the 6th International AJAXWorld RIA Conference & Expo in October SYS-CON Events is delighted to be
MuleSource Releases Open Source SOA Governance Platform
MuleSource announced general availability of Mule Galaxy Enterprise, a new production-ready solution for storing and managing SOA artifacts offering new enterprise-class features such as clustering for high availability, an extensible query engine, and more. Mule Galaxy Enterprise, the
Oracle Updates Entire Family of Oracle Berkeley DB Embeddable Databases
Oracle announced new releases of Oracle Berkeley DB, Oracle Berkeley DB XML and Oracle Berkeley DB Java Edition. The new releases and enhancements signify Oracle's commitment to continued innovation across the Oracle Berkeley DB product family, while maintaining the open source dual li
Red Hat Expands Open Source Virtualization Applications
Open source applications provider Red Hat has introduced three applications targeting enterprise-wide adoption of next-generation virtualization. It has introduced embedded Linux Hypervisor for hosting virtualized Linux and Windows environments, which provide virtualization with improv
Red Hat Delivers on Linux Automation
Red Hat announced advancements that extend the Company's Linux Automation strategy by providing expanded capabilities and incorporating broadened community involvement for secure management of both users and systems across virtual and physical enterprise infrastructures.
Red Hat Numbers Up
Red Hat saw earnings rise 6.6% to $17.3 million, or eight cents a share in its first fiscal quarter ended May 31 on revenue up 32% year-over-year and 11% sequentially to $156.6 million. EPS was dead flat year-over-year. Subscription revenue was $130.7 million, up 27% year-over-year and
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