Practical XMPP
- Length: 255 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-11-04
- ISBN-10: 1785287982
- ISBN-13: 9781785287985
- Sales Rank: #1381154 (See Top 100 Books)
Key Features
- Learn about the fundamentals of XMPP and be able to work with the core functionality both server-side and in the browser
- Build a simple 1-to-1 chat (the “Hello World” of XMPP), explore multi-user chat, publish subscribe systems, and work with a decentralized social network
- Author Steven Lloyd Watkins is a member of the XMPP standards committee
Book Description
XMPP (eXtensible Messaging and Presence Protocol) is a messaging protocol that enables communication between two or more devices via the Internet. It is used primarily to power instant-messaging services such as Jabber and WhatsApp. In this way, it is similar to other protocols such as WebRTC, which enable near real-time communication between Internet-connected devices.
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. Get a solid grasp of XMPP and how it works, and 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, have a good understanding of how to extend XMPP for your needs, and use it in applications.
What you will learn
- Install and configure an XMPP server and use it to connect from a traditional desktop client and send a message
- Build a simple server-side application that will respond to messages from our logged in desktop client
- Install and run XMPP-FTW, connect to the server from the browser, and handle incoming/outgoing messages
- Connect to a multi-user chat room, send/receive stanzas, add a room password, join a protected room, set the room’s subject, and change a user’s affiliation
- Get to grips with the publish-subscribe extension of XMPP and use it to build a pusher system that can make any website real-time
- Build a simple XMPP component and create an extension for XMPP-FTW that allows you to use your own custom format
- Build an XMPP version of the classic game “Pong”
Table of Contents
Chapter 1: An Introduction to XMPP and Installing Our First Server
Chapter 2 : Diving into the Core XMPP Concepts
Chapter 3 : Building a One-on-One Chat Bot – The
Chapter 4 : Talking XMPP in the Browser Using XMPP-FTW
Chapter 5 : Building a Multi-User Chat Application
Chapter 6 : Make Your Static Website Real-Time
Chapter 7 : Creating an XMPP Component
Chapter 8 : Building a Basic XMPP-Based Pong Game
Chapter 9 : Enhancing XMPPong with a Server Component and Custom Messages
Chapter 10 : Real-World Deployment and XMPP Extensions
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Practical XMPP
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.