Book Image

Practical XMPP

By : Steven Watkin, David Koelle
Book Image

Practical XMPP

By: Steven Watkin, David 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 (16 chapters)
Practical XMPP
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
An Introduction to XMPP and Installing Our First Server

XMPP and the Internet of Things


The Internet of Things (IoT) enables the connection of devices of all sorts and describes how they communicate data with each other and with servers, and XMPP is at the forefront of this growing area. With years of experience in security and scalability, as well as the existence of a plethora of servers and related software, XMPP provides a solid and open foundation for the infrastructure of IoT. There are several XEPs to support XMPP's role in IoT, and there is a specific community, called XMPP-IoT, which focuses on this initiative (see http://www.xmpp-iot.org).

IoT communications are commonly thought of as Device-To-Device (D2D) and Device-To-Server (D2S); it is useful to keep these different levels of communication in mind as you explore IoT and notice the range of protocols being developed to support these use cases. XMPP is preferred in the D2S space; the D2D space often involves protocols that are a bit closer to the wire and which, perhaps, do not rely...