[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Costello, Roger L." <costello@m...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Thu, 13 Aug 2015 14:56:12 +0000

Hi Folks,

Here is an excellent article on the myths of XML (well, actually, the myths of XMPP, which is an XML-based instant messaging protocol):

http://wiki.xmpp.org/web/index.php?title=Myths 

Some of the Juicy Parts:
---------------------------------------------
The hypothesis: XML is inarguably slower than JSON and other similar syntaxes, and XMPP will subsequently suffer in terms of performance.

The fact: XML is just as fast as JSON, and therefore XMPP pays no penalty.
---------------------------------------------
The hypothesis: The core of XMPP is so small it has no practical use, and features that are essential for my use case have been bolted on as an afterthought.

The fact: XMPP is designed to be extensible, and many extensions have very broad deployment.
---------------------------------------------
The hypothesis: XMPP stanzas are just too verbose to work on mobile.

The fact: XMPP has been successfully deployed over SATCOM and HF.
---------------------------------------------
The hypothesis: XMPP stanzas can be lost, therefore the system is unreliable.

The fact: XMPP typically uses reliable stream transports, so even without extensions it's pretty reliable.
---------------------------------------------
The hypothesis: XMPP is unsuited to the web because angle brackets and stuff.

The fact: XMPP has been successfully deployed to thousands of websites and has had pure Javascript libraries since its early days.
---------------------------------------------
/Roger


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member