Real-Time Chat on the Web How to use XMPP and Converse.js to integrate webchat into any website
Channel: FOSDEM
Date: 2018-03-08

by JC Brand

At: FOSDEM 2017

Converse.js is an XMPP-based webchat application that can be used as astandalone application or it can be customized and integrated into anywebsite. In this talk I'll provide an introduction to Converse.js and I'llalso explain the infrastructure required to integrate and host XMPP-basedwebchat.

## What is XMPP and how do I integrate it into a website?

I'll provide a brief introduction to XMPP (as presence and chat protocol) andthe two main technologies for integrating XMPP into the webbrowser (long-polling with BOSH versus websockets).

## What is Converse.js?

Next follows an introduction to Converse.js, which is a webchat client thatcan be used standalone, or which can be integrated into any website. Then I'lltalk about how Converse.js came to be, what it was originally used for, whereit's been integrated and what's been done with it since.

## How to integrate webchat into your website

In this section, I'll provide an outline of what's needed to create a webchatsolution for your website. I'll mention XMPP servers, BOSH connectionmanagers, XEPs (XMPP protocol extensions) that you'll likely want to enable,and more. I'll also elaborate on how you might want to enable communicationbetween your web app's backend and an XMPP server.

## Plans for the future

I'll then finish off by discussing plans for future improvements andenhancements to Converse.js


Room: K.3.401
Scheduled start: 2017-02-04 12:50:00