Difference between revisions of "XMPP"

From Organic Design wiki
m
m (See also)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{glossary}}
+
{{legacy}}
[[w:Extensible Messaging and Presence Protocol|Extensible Messaging and Presence Protocol]] ('''XMPP''') is an open, [[w:XML|XML]]-based [[w:network protocol|protocol]] originally aimed at near-real-time, extensible instant messaging (IM) and [[w:presence information|presence information]] (e.g., buddy lists), but now expanded into the broader realm of [[w:message oriented middleware|message oriented middleware]]. It remains the core protocol of the [http://jabberd.org/ Jabber] Instant Messaging and Presence technology. Built to be extensible, the protocol has been extended with features such as [[w:Voice over Internet Protocol|VOIP]] and file transfer signaling.
+
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.
  
Unlike most instant messaging protocols, XMPP is an [[w:open standard|open standard]]. Like e-mail, it is an [[w:open system (computing)|open system]] where anyone who has a domain name and a suitable Internet connection can run his own Jabber server and talk to users on other servers.  The standard server implementations and many clients are also [[w:free and open source software|free and open source software]].
+
The core technology behind XMPP was invented by [http://xmpp.org/about-xmpp/xsf/xsf-people/#bdfl Jeremie Miller] in 1998, refined in the Jabber open-source community in 1999 and 2000, and formalized by the [[w:IETF|IETF]] in 2002 and 2003, resulting in publication of the [http://xmpp.org/rfcs/ XMPP RFC]s in 2004 (see the history page for more details).
  
The [[w:Internet Engineering Task Force|Internet Engineering Task Force]] (IETF) formed an XMPP Working Group in 2002 to formalize the core protocols as an IETF instant messaging and presence technology. The XMPP WG produced four specifications which were approved by the [[w:IESG|IESG]] as Proposed Standards in 2004. RFC 3920 and RFC 3921 are now undergoing revisions in preparation for advancing them to Draft Standard within the Internet Standards Process. The [[w:XMPP Standards Foundation|XMPP Standards Foundation]] (formerly the Jabber Software Foundation) is active in developing open XMPP extensions. However, no technology correctly implements the RFCs in full.
+
Although the core technology is stable, the XMPP community continues to define various [http://xmpp.org/protocols/xmpp-extensions/ 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.
  
XMPP-based software is deployed on thousands of servers across the Internet and by 2003 was used by over ten million people worldwide, according to the XMPP Standards Foundation. Popular commercial servers include the [[w:Gizmo Project|Gizmo Project]], [[w:Nimbuzz|Nimbuzz]] and [[w:Google Talk|Google Talk]]. Popular client applications include the freeware clients offered by Google, Nimbuzz and the Gizmo Project, [[w:Multiprotocol instant messaging application|multi-protocol instant messengers]] such as [[w:iChat|iChat]] and [[w:Pidgin (software)|Pidgin]] (formerly Gaim), and free dedicated clients such as [[w:Psi (instant messaging client)|Psi]] and [[w:Gajim|Gajim]]. [[w:Google Talk|Google Talk]] provides XMPP gateways to its service. [[w:Google Wave|Google Wave]]'s federation protocol (GWFP) is an open extension to the XMPP protocol.
+
If you have any questions about the use or development of XMPP technologies, feel free to participate in one of the open [http://xmpp.org/participate/discuss-xmpp/ xmpp.org discussion venues] hosted by the [http://xmpp.org/about-xmpp/xsf/ XMPP Standards Foundation].
  
 +
[[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]
 
*[http://metajack.im/2008/08/26/choosing-an-xmpp-server/ Choice of XMPP server at MetaJack]
Line 13: Line 14:
 
*[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''
 +
*[https://prosody.im/ Prosody] ''- Lua based server with easy setup and small footprint''
 +
*[https://metronome.im/ Metronome] ''- simpler to use fork of Prosody''
  
 
== Interesting XMPP extensions supported by jabberd2 ==
 
== Interesting XMPP extensions supported by jabberd2 ==
Line 37: Line 40:
 
*[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 ==
*[[Wave]] ''- our high level document about integrating this technology into our direction''
+
*[[Splitting & merging]]
 +
*[[Wikipedia:Message-oriented middleware]]
 +
*[[Google Wave]] ''- our high level document about integrating this technology into our direction''
 
*[http://xmpp.org/extensions/ XMPP extensions]
 
*[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''

Revision as of 17:51, 29 December 2018

Legacy.svg Legacy: This article describes a concept that has been superseded in the course of ongoing development on the Organic Design wiki. Please do not develop this any further or base work on this concept, this is only useful for a historic record of work done. You may find a link to the currently used concept or function in this article, if not you can contact the author to find out what has taken the place of this legacy item.

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

Interesting XMPP extensions supported by jabberd2

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

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.

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