Good tutorials on XMPP?

Xmpp

Xmpp Problem Overview


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.

Xmpp Solutions


Solution 1 - Xmpp

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.

Solution 2 - Xmpp

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, ...).

Solution 3 - Xmpp

As others have said, the specifications are a good introduction. It's true that they are technical in nature, and worded to be precise - but they are really some of the best specifications I've seen for any protocol, especially the latest RFCs (6120 and 6121) which clarify some of the grey areas in the originals.

E.g. you mention wanting to know the definition of a stanza, it's explained (with examples) in 6120 section 8.

If you have any feedback on how the specifications can be made clearer, then say so on the XMPP mailing list, where all feedback is considered for the next drafts of the specifications.

If the specifications are really too much for you (I appreciate some people like more pictures than I do), do consider the book (whether in paper or digital form) - it's designed exactly as an easy introduction to both the core specifications and the most common extensions, and written by people who help develop and implement them.

Solution 4 - Xmpp

The RFCs (listed on the Wikipedia page) should be a quite good introduction to this topic.

For example: RFC3920: Extensible Messaging and Presence Protocol (XMPP): Core

Solution 5 - Xmpp

This might be an old question, but I just wanted to keep the process I used in order to learn XMPP.

A few years ago, a few friends of mine and I were learning about how to leverage XMPP, and understanding how it fits into larger piece is quite a tedious task. I highly recommend starting off by reading the wikipedia page of XMPP:

http://en.wikipedia.org/wiki/XMPP

You'll be surprised how many people aren't able to answer questions about XMPP which are the most fundamental.

I also highly recommend reading this article:

http://www.infoworld.com/article/2682116/application-development/xmpp-rises-to-face-simple-standard.html

It'll give you a sense of the motivation behind XMPP, it's history, and it's protocols that used to be on par with it.

From there, it'll be best to read the sources of the wikipedia page to give a more indept understanding of any features you might be interested in with XMPP.

Solution 6 - Xmpp

Use the xmpp asmack library from

http://beem-project.com/projects/beem/files download asmack-android-7-beem-jingle.jar

and documentation of

http://www.igniterealtime.org/downloads/index.jsp

Hope it helps others like it helped me

Solution 7 - Xmpp

Install openfire on server side and use qsmack on android side.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMr. BoyView Question on Stackoverflow
Solution 1 - XmppGDRView Answer on Stackoverflow
Solution 2 - Xmpptowe75View Answer on Stackoverflow
Solution 3 - XmppMattJView Answer on Stackoverflow
Solution 4 - XmppFloEView Answer on Stackoverflow
Solution 5 - Xmppuser3761301View Answer on Stackoverflow
Solution 6 - XmppSheraz Ahmad KhiljiView Answer on Stackoverflow
Solution 7 - XmppJaspreet ChhabraView Answer on Stackoverflow