The goal of this project is to make XMPP really simple to use for developers. This module takes away all of the XML and works by hooking to events which are passed between client and server using a transport in JSON. In the example code we use socket.io, but there is no reason this can not be replaced with engine.io, or implement your own transport and pass in as a connection.
The examples on this site use socket.io to handle data transport and will attempt to use websockets before attempting to use alternative connection types.
Beginner and installation guides to come...
With version 2.0.0 of Primus Emitter emit is no longer used on the socket object to send a message. Instead send is used. If using another websocket library please ensure that you have a send method (that replicates emit).
Nodejitsu is a great PaaS provider allowing you to very quickly and easily deploy nodejs apps online within minutes. Please show nodejitsu some ❤. For more details see opensource.jit.su.
Please click on the following links as appropriate:
XMPP-FTW is made up of a group of modules. The main XMPP-FTW module includes code for handling login/logout, presence, chat, and roster. In addition to this it also includes small amounts of code to handle common occurances in XMPP e.g. data forms (XEP-0004).
All other code is (or is in the process of being) broken into separate modules. The current status of the modules is listed below:
There are also several smaller components which can be used seperately to XMPP-FTW which perform useful utility tasks. These are listed below: