Difference between revisions of "XMPP"

From Organic Design wiki
({{legacy}})
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{legacy}}
 
 
The [[w:Extensible Messaging and Presence Protocol|Extensible Messaging and Presence Protocol]] (XMPP) is an [[open]] technology for real-time communication, which powers a wide range of applications including instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data. The [http://xmpp.org/about-xmpp/technology-overview/ xmpp.org technology pages] provide more information about the various XMPP “building blocks”. Several books about Jabber/XMPP technologies are available, as well.
 
The [[w:Extensible Messaging and Presence Protocol|Extensible Messaging and Presence Protocol]] (XMPP) is an [[open]] technology for real-time communication, which powers a wide range of applications including instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data. The [http://xmpp.org/about-xmpp/technology-overview/ xmpp.org technology pages] provide more information about the various XMPP “building blocks”. Several books about Jabber/XMPP technologies are available, as well.
  
Line 10: Line 9:
 
[[File:XMPPbook.jpg|right|350px|link=http://www.bookdepository.co.uk/XMPP-Definitive-Guide-Peter-Saint-Andre/9780596521264/?a_aid=od]]
 
[[File:XMPPbook.jpg|right|350px|link=http://www.bookdepository.co.uk/XMPP-Definitive-Guide-Peter-Saint-Andre/9780596521264/?a_aid=od]]
 
== Choices of XMPP server ==
 
== Choices of XMPP server ==
*[http://metajack.im/2008/08/26/choosing-an-xmpp-server/ Choice of XMPP server at MetaJack]
+
*[[Prosody]] ''- we use Prosody, a Lua based server with easy setup and small footprint''
 +
*[https://metronome.im/ Metronome] ''- simpler to use fork of Prosody''
 
*[http://jabberd.org/ jabber2d]
 
*[http://jabberd.org/ jabber2d]
 
*[http://www.ejabberd.im/ ejabberd]
 
*[http://www.ejabberd.im/ ejabberd]
 
*[http://code.stanziq.com/strophe Strophe] ''- a beautiful library for building XMPP applications in JavaScript''
 
*[http://code.stanziq.com/strophe Strophe] ''- a beautiful library for building XMPP applications in JavaScript''
 
== Interesting XMPP extensions supported by jabberd2 ==
 
*[http://xmpp.org/extensions/xep-0030.html XEP-0030: Service Discovery]
 
*[http://xmpp.org/extensions/xep-0048.html XEP-0048: Bookmarks]
 
*[http://xmpp.org/extensions/xep-0049.html XEP-0049: Private XML Storage]
 
*[http://xmpp.org/extensions/xep-0072.html XEP-0072: SOAP Over XMPP] ''(not currently implemented by jabberd2)''
 
*[http://xmpp.org/extensions/xep-0079.html XEP-0079: Advanced Message Processing]
 
*[http://xmpp.org/extensions/xep-0083.html XEP-0083: Nested Roster Groups]
 
*[http://xmpp.org/extensions/xep-0114.html XEP-0114: Jabber Component Protocol]
 
*[http://xmpp.org/extensions/xep-0138.html XEP-0138: Stream Compression]
 
*[http://xmpp.org/extensions/xep-0145.html XEP-0145: Annotations]
 
 
== Extensions we'd like to develop ==
 
*'''Workflow:''' define processes and sequences, both human and computer (adding current work tree to contexts)
 
*'''Schedule:''' this may already be done: adding a "booking" aspect to contexts
 
*'''P2P:''' A peer-to-peer storage layer
 
*'''Objects:''' this is basically RA: types & instances with search, create, view, edit contexts
 
*'''Nodes:''' nodal model's class/instance structure incorporating workflow, axes, install/remove
 
  
 
== XMPP & JavaScript ==
 
== XMPP & JavaScript ==
Line 38: Line 20:
 
*[http://metajack.im/2009/03/12/awesome-demo-of-real-time-xmpp-powered-app/ drop.io's new real-time web-app] ''- powered by Strophe''
 
*[http://metajack.im/2009/03/12/awesome-demo-of-real-time-xmpp-powered-app/ drop.io's new real-time web-app] ''- powered by Strophe''
 
*[http://metajack.im/2009/01/20/learn-to-make-xmpp-powered-web-apps-at-jsconf-2009/ Learn to Make XMPP Powered Web Apps at JSConf 2009]
 
*[http://metajack.im/2009/01/20/learn-to-make-xmpp-powered-web-apps-at-jsconf-2009/ Learn to Make XMPP Powered Web Apps at JSConf 2009]
 
== Setting up a server on OD ==
 
*apt-get install jabberd2
 
*Ensure that the config XML files in ''/etc/jabberd2'' all have a correct user in their MySQL sections
 
*unpack ''/usr/share/doc/jabberd2/db-setup.mysql.gz'' and pipe it into MySQL
 
  
 
== See also ==
 
== See also ==
*[[Splitting & merging]]
+
*[https://xmpp.org XMPP.org]
 +
*[http://xmpp.org/extensions/ XMPP extensions]
 +
*[[Prosody]] ''- the XMPP server we use''
 +
*[https://movim.eu/ MOVIM] ''- a new social network built on XMPP''
 +
*[[Google Wave]] ''- an XMPP-based Google project that got shelved''
 
*[[Wikipedia:Message-oriented middleware]]
 
*[[Wikipedia:Message-oriented middleware]]
*[[Wave]] ''- our high level document about integrating this technology into our direction''
 
*[http://xmpp.org/extensions/ XMPP extensions]
 
 
*[http://codex.xiaoka.com/wiki/jabberd2:start jabberd2] ''- the most complete implementation of the XMPP protocol and extensions written in C''
 
*[http://codex.xiaoka.com/wiki/jabberd2:start jabberd2] ''- the most complete implementation of the XMPP protocol and extensions written in C''
*[[w:Internet Protocol Suite|Internet Protocol Suite]]
 
 
*[http://metajack.im/2008/11/21/chesspark-design-details-part-1-why-xmpp/ Chesspark Design Details] ''- chesspark.com extends XMPP''
 
*[http://metajack.im/2008/11/21/chesspark-design-details-part-1-why-xmpp/ Chesspark Design Details] ''- chesspark.com extends XMPP''
 
*[http://metajack.im/2009/03/09/xmpp-complexity-versus-sophistication/ XMPP: Complexity vs Sophistication] ''- metajack article''
 
*[http://metajack.im/2009/03/09/xmpp-complexity-versus-sophistication/ XMPP: Complexity vs Sophistication] ''- metajack article''
 
*[http://metajack.wordpress.com/2008/07/02/xmpp-is-better-with-bosh/ XMPP is better with BOSH] ''- metajack article''
 
*[http://metajack.wordpress.com/2008/07/02/xmpp-is-better-with-bosh/ XMPP is better with BOSH] ''- metajack article''
 +
[[Category:Web3.0]]

Latest revision as of 23:53, 14 May 2020

The Extensible Messaging and Presence Protocol (XMPP) is an open technology for real-time communication, which powers a wide range of applications including instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data. The xmpp.org technology pages provide more information about the various XMPP “building blocks”. Several books about Jabber/XMPP technologies are available, as well.

The core technology behind XMPP was invented by Jeremie Miller in 1998, refined in the Jabber open-source community in 1999 and 2000, and formalized by the IETF in 2002 and 2003, resulting in publication of the XMPP RFCs in 2004 (see the history page for more details).

Although the core technology is stable, the XMPP community continues to define various XMPP extensions through an open standards process run by the XMPP Standards Foundation. There is also an active community of open-source and commercial developers, who produce a wide variety of XMPP-based software.

If you have any questions about the use or development of XMPP technologies, feel free to participate in one of the open xmpp.org discussion venues hosted by the XMPP Standards Foundation.

XMPPbook.jpg

Choices of XMPP server

  • Prosody - we use Prosody, a Lua based server with easy setup and small footprint
  • Metronome - simpler to use fork of Prosody
  • jabber2d
  • ejabberd
  • Strophe - a beautiful library for building XMPP applications in JavaScript

XMPP & JavaScript

Strophe is a beautiful library for building XMPP applications in JavaScript (also available as a C library). It has a lot of nice features to help you build stanzas and respond to various event stanzas. It is built on top of the DOM, and unfortunately, the DOM is not always fun to work with. Luckily, we have an excellent DOM slicer and dicer that we can use alongside Strophe, the jQuery library.

See also