← Prev in month ← Prev in thread
Next in thread → Next in month →

Myths of XML

From
Costello, Roger L. <>
To
"" <>
Date
2015-08-13T14:56:12Z
ID
<>
Thread
Myths of XML
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
← Prev in month ← Prev in thread
Next in thread → Next in month →