Book Image

Practical XMPP

By : Lloyd Watkin, Steven Watkin, Koelle
Book Image

Practical XMPP

By: Lloyd Watkin, Steven Watkin, Koelle

Overview of this book

XMPP (eXtensible Messaging and Presence Protocol) is a messaging protocol that enables communication between two or more devices via the Internet. With this book, developers will learn about the fundamentals of XMPP, be able to work with the core functionality both server-side and in the browser, as well as starting to explore several of the protocol extensions. You will not only have a solid grasp of XMPP and how it works, but will also be able to use the protocol to build real-world applications that utilize the power of XMPP. By the end of this book, you will know more about networking applications in general, and have a good understanding of how to extend XMPP, as well as using it in sample applications.
Table of Contents (11 chapters)
Free Chapter
1
1. An Introduction to XMPP and Installing Our First Server

What this book covers

Chapter 1, An Introduction to XMPP and Installing Our First Server. Provides a brief introduction to the history of XMPP and its uses as well as installing and interacting with our first XMPP server.

Chapter 2, Diving into the Core XMPP Concepts, reveals that XMPP covers a vast number of areas but at its core is very simple and extensible. Here we learn about the core concepts so when we come to building our XMPP applications later we understand what's going on.

Chapter 3, Building a One-on-One Chat Bot - The "Hello World" of XMPP, show us how to build a simple chat bot and interact with it via a standard client.

Chapter 4, Talking XMPP in the Browser Using XMPP-FTW, we introduce XMPP-FTW and shows us how to build some basic functionality.

Chapter 5, Building a Multi-User Chat Application, how to  create a very basic multi user chat client in the browser and begin chatting with our XMPP users.

Chapter 6, Make Your Static Website Real-Time, takes a standard static website and add real time data to it pushed via XMPP, making even the dullest website dynamic and exciting!  

Chapter 7, Creating an XMPP Component, shows how to create our first server-side component, which let you develop business logic without modifying the server itself.

Chapter 8, Building a Basic XMPP-Based Pong Game, how to create a simple application, using standard chat messages to convey game state. We also learn about Client DISCO for discovering capabilities of a client connected to a chat server.

Chapter 9, Enhancing XMPPong with a Server Component and Custom Messages, explains how to develop a full-fledged XMPP demonstration application, including a server-side component, an XMPP-FTW extension that allows us to create our own messages, and clients that talk to the server using those messages.

Chapter 10, Real-World Deployment and XMPP Extensions, presents considerations for deploying your app, including security and scalability. These capabilities are described in XMPP Extension Protocols (XEPs), and in this chapter we also take the opportunity to introduce several additional XEPs that describe emerging XMPP features, including Internet of Things and WebRTC.