Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good tutorials on XMPP? [closed]

Tags:

xmpp

I've been looking at some open-source XMPP servers, and am familiar with the official page http://xmpp.org/. But thus far I've not found anything in between "The Extensible Messaging and Presence Protocol (XMPP) is an open technology for real-time communication" and a list of XEP specifications. For instance articles explaining the basics and terminology - stanzas, IQ, presence, etc, etc. Even the Wikipedia page misses this, unsurprisingly the open-source projects assume you know these things before you start digging into the code.

Is there a good, (semi-)official set of tutorials on this? Do I need to be looking for Jabber resources rather than XMPP?

Amongst other things, I'd hope to see diagrams for use-cases and flow, not just dry protocol text. I know books on XMPP exist, but generally anything in a book is available in some form online too.

like image 626
Mr. Boy Avatar asked Jun 22 '10 11:06

Mr. Boy


People also ask

Does WhatsApp still use XMPP?

WhatsApp uses a customized version of the open standard Extensible Messaging and Presence Protocol (XMPP).

How XMPP works step by step?

As mentioned above, XMPP works by passing small, structured chunks of XML data between endpoints (clients) via intermediary servers. In other words, if you send a message to your friend using XMPP, that message, as part of an XML document, first travels to a server instead of traveling directly to your friend's device.

Which is the weakness of XMPP?

Drawbacks or disadvantages of XMPP protocol ➨It does not have QoS mechanism as used by MQTT protocol. ➨Streaming XML has overhead due to text based communication compare to binary based communication. ➨XML content transports asynchronously. ➨Server may overload with presence and instant messaging.


2 Answers

This is probably way too basic, but at least it's technical: https://web.archive.org/web/20170916193014/http://www.adarshr.com/fun-with-xmpp-and-google-talk and the second part, https://web.archive.org/web/20171005104211/http://www.adarshr.com:80/fun-with-xmpp-and-google-talk-part-2

It explains what stanzas are, what types are available and stuff.

like image 131
GDR Avatar answered Nov 23 '22 21:11

GDR


Here is what got me startet on XMPP Development:

  • A good book: XMPP The Definivie Guide
  • A mature Java API. I've chosen the Smack Library from Ignite Realtime and used the groovy language with a buch of small scripts to learn the basics.

Later i developed a plugin for the OpenFire XMPP Server. There are some tutorials and a forum on their site as well. I think that both the smack and the openfire api's are easy to learn.

If you are not into java: The book referes to the SkeekXMPP Python library and it uses it to create some examples (echo bot, ...).

like image 45
towe75 Avatar answered Nov 23 '22 23:11

towe75