JAXL library – List of available hooks for various XMPP events

April 6, 2011   -   XMPP   -   4 comments

Jaxl 2.x provides an event mechanism using which developers can register callbacks for various xmpp events inside their application code. This blog post will demonstrate how to register callbacks for required xmpp events and go through a list of all available hooks. Finally, we will discuss parameters that are passed to called back methods by [...]

How to write External Jabber Components in PHP using Jaxl library?

August 24, 2010   -   XMPP   -   15 comments

Jabber Component Protocol (XEP-0114) documents how XMPP protocol can be used to communicate between servers and “external” components over the Jabber network. XMPP components “bind” to a domain, usually a sub-domain of the main XMPP service, such as service.example.org. All incoming stanzas addressed to that domain (to='service.example.org') or to entities on that domain (to='user@service.example.org') will [...]

XEP 0045 – Multi User Chat (MUC) available methods in Jaxl 2.0

August 22, 2010   -   XMPP   -   19 comments

Jaxl 2.0.3 (Jabber XMPP Library in PHP) comes with 15 XMPP extensions including XEP-0045 a.k.a. Multi-User Chat (Conference Room). In this blog post, we will go through all the methods available for XMPP applications developed using Jaxl library. Using MUC methods You need to include Jaxl implementation of XEP-0045 in your application code to start [...]

PHP Code, Setup and Demo of Jaxl boshchat application

August 17, 2010   -   PHP, XMPP   -   80 comments

Jaxl 2.0 bosh support allow web developers to write real time web applications within minutes, without having any pre-requisite knowledge about the XMPP protocol itself. In this blog post, I will walk you through setup and demo of an XMPP based web chat application using Jaxl library. Get the code Follow the following steps to [...]

Facebook chat connect with X-FACEBOOK-PLATFORM using Jaxl 2.0

August 8, 2010   -   XMPP   -   115 comments

Facebook chat provides two authentication mechanisms for authenticating chat client users. DIGEST-MD5 require chat client users to enter their username and password, while X-FACEBOOK-PLATFORM can be used to provide better user experience by using simple Facebook Platform authentication. In this blog post, I will demonstrate how to use Jaxl library for X-FACEBOOK-PLATFORM authentication. Echobot using [...]

XEP 0133 – Service Administration available methods in Jaxl 2.0

August 6, 2010   -   XMPP   -   1 comment

Jaxl 2.0 implements more than 10 XMPP extensions including XEP-0133 a.k.a. Service Administration. In this blog post, we will go through all the methods available for use in XMPP applications developed using Jaxl. Using Service administration methods You need to include Jaxl implementation of XEP-0133 in your application code to start using below listed available [...]

Jaxl 2.0 Core classes, available methods and directory structure

August 4, 2010   -   XMPP   -   3 comments

In this blog post we will dig deep into the core of Jaxl 2.0 – An XMPP framework written in PHP. Specifically, we will go through Jaxl core directory structure. Towards the end we will get familiar with various core classes and their available methods (e.g. $jaxl->sendMessage()), that developers can use in their XMPP applications. [...]

Writing a command line XMPP bot (echobot) using Jaxl 2.0

August 3, 2010   -   XMPP   -   35 comments

In this blog post, we will write a sample XMPP bot (echobot) using Jaxl 2.0. In turn we will introduce ourselves to some of the basic functionality we can do using Jaxl e.g. fetching roster list, subscribing and unsubscribing to a user presence, etc. We will also focus on how to use XMPP extensions (XEP’s) [...]

Jaxl 2.0 – Installation, Usage guide and Example apps

August 2, 2010   -   XMPP   -   43 comments

This blog post provides detailed instructions on how to download and setup Jaxl 2.0 for quick XMPP application development using PHP. We will also see how to run XMPP bots using Jaxl command line utility (now available by just typing jaxl on the terminal). Get the source code Jaxl 2.0 development version source code is [...]

Releasing Jaxl 2.0 – Object oriented XMPP framework in PHP

August 2, 2010   -   Open Source Projects, PHP, XMPP   -   6 comments

After months of restructuring the Jaxl library, I am pleased to announce Jaxl 2.0, an object oriented XMPP framework in PHP for developing real time applications for browsers, desktops and hand held devices. What’s new in Jaxl 2.0? A lot of structural changes has been done from the previous version to make it more scalable, [...]

Powered by Wordpress. © 2008-2010 All Rights Reserved.