5 ms·
I would love to see classic Google Talk return, with status settings/messages, the ability to see if contacts are online, etc., however I'm not so sure extendin
by Zikes 13y ago
I would love to see classic Google Talk return, with status settings/messages, the ability to see if contacts are online, etc., however I'm not so sure extending XMPP is the way to go.
It's my understanding that XMPP is an exceptionally verbose protocol, built on XML. It's great for interoperability, but there are better formats available now, including JSON and msgpack, which would be much more ideal for mobile IM.
- shmerl 13y agoXML can be compressed: http://xmpp.org/extensions/xep-0138.html http://xmpp.org/extensions/xep-0138.html JSON isn't less verbose by the way. It also lacks namespaces, so I doubt it can help for a complex and extensible protocol.
- stuaxo 13y agoTrue, there are loads of libraries to support XMPP on various platforms though.
- mindcrime 13y agoI wonder how hard it would be to rework XMPP into a JSON encoding? Offhand, it seems like the fundamental vocabulary could remain the same, with just the syntactical details changing over from XML to JSON. Edit: Interestingly enough, there is a (apparently satirical) XEP for this: http://xmpp.org/extensions/xep-0295.html http://xmpp.org/extensions/xep-0295.html
- shmerl 13y agoHow are you going to translate XML namespaces which are heavily used in XMPP into JSON? The satirical example shows that it's not going to look good ;)