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 primus to handle data transport and will attempt to use websockets before attempting to use alternative connection types.
Beginner and installation guides to come...
XMPP-FTW now protects users from stanza ID spoofing protection. For more information on this please see this discussion thread: Stanza ID spoofing on the jdev mailing list.
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).
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: