Buying Options
XMPP: The Definitive Guide
Print $39.99
Add to Cart
Print+Ebook $43.99
Add to Cart
Ebook $31.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £30.99
Add to Cart
What is this?
Description
This practical book provides everything you need to know about the Extensible Messaging and Presence Protocol (XMPP) -- the open technology for real-time communication used in instant messaging, Voice over IP, real-time collaboration, social networking, microblogging, lightweight middleware, cloud computing, and more. XMPP: The Definitive Guide walks you through the thought processes and design decisions involved in building a complete XMPP-enabled application, and adding real-time interfaces to existing applications.
Full Description
Table of Contents
  1. An Overview of XMPP

    1. Chapter 1 Introduction

      1. What Can You Do with XMPP?
      2. Brief History
      3. Open Source and Open Standards
      4. Extensibility
      5. Summary
    2. Chapter 2 Basics of XMPP

      1. Architecture
      2. Addresses
      3. Streaming XML
      4. Communication Primitives
      5. Hello Hello World World: Building a Basic XMPP Application
      6. Summary
  2. The XMPP Toolkit

    1. Chapter 3 Presence

      1. Is Anybody Home?
      2. Authorization Required: The Subscription Handshake
      3. How Presence Is Propagated
      4. Availability Status
      5. Presence Priorities
      6. Directed Presence
      7. Going Offline
      8. Rich Presence
      9. Presence and Rosters
      10. Using Presence
      11. Summary
    2. Chapter 4 Instant Messaging

      1. I Think, Therefore IM
      2. Chat Sessions
      3. Are You There? Chat State Notifications
      4. Looks Matter: Formatted Messages
      5. Who Are You? vCards
      6. Talk to the Hand: Blocking and Filtering Communication
      7. More Messaging Extensions
      8. Summary
    3. Chapter 5 Discovering the World

      1. Items and Info
      2. Using Service Discovery with Servers and Services
      3. Using Service Discovery with Clients
      4. Summary
    4. Chapter 6 Data Forms

      1. Basic Structure
      2. Using Data Forms
      3. Defining Your Terms: Form Types
      4. Including Media in Data Forms
      5. Summary
    5. Chapter 7 Multi-Party Interactions

      1. Starting the Party
      2. Groupchat Basics
      3. Crowd Control
      4. What’s in a Nick?
      5. Configure This!
      6. Privacy, Security, and All That Jazz
      7. MUC As a Data Transport
      8. Summary
    6. Chapter 8 Publish/Subscribe

      1. Why It Matters
      2. Quickstart
      3. Subscriptions
      4. Publishing and Receiving Notifications
      5. Payloads: To Send or Not to Send?
      6. Items: To Store or Not to Store?
      7. Discovering Nodes
      8. Node Management
      9. Personal Eventing: PubSub Simplified
      10. Summary
    7. Chapter 9 Jingle: Jabber Does Multimedia

      1. To Instant Messaging and Beyond
      2. The Jingle Model
      3. Making a Call
      4. A Swarm of NATs
      5. Jingle on ICE
      6. Additional Jingle Actions
      7. Summary
    8. Chapter 10 Sending Binary Data

      1. Starting Small: Bits of Binary
      2. Moving On Up: Transferring Midsize Files In-Band
      3. Thinking Big: Sending Large Files Out-of-Band
      4. Negotiating File Transfer
      5. Summary
    9. Chapter 11 Remote Commands

      1. Controlling Clients
      2. Providing Custom Commands
      3. Advanced Workflows: SOAP, RPC, IO Data
      4. Summary
    10. Chapter 12 Connection Methods and Security

      1. Negotiating an XMPP Stream
      2. Authentication Options
      3. Encrypting the Connection
      4. Server Federation
      5. Server Components
      6. BOSH: XMPP over HTTP
      7. Serverless Messaging
      8. XMPP Security
      9. Summary
  3. Putting It All Together

    1. Chapter 13 Design Decisions

      1. Is XMPP the Right Choice?
      2. How the XMPP Community Works
      3. Writing XMPP Software
      4. Extending XMPP
      5. Summary
    2. Chapter 14 Building an XMPP Application

      1. The CheshiR Microblogging Platform
      2. First Sprint: The CheshiR XMPP IM Bot
      3. Second Sprint: Configuring the CheshiR XMPP IM Bot
      4. Third Sprint: Scaling the CheshiR XMPP Service Using a Server Component
      5. Fourth Sprint: Registering with the CheshiR Server Component
      6. Fifth Sprint: Extending the Server Component with Rosters
      7. Future Sprints
      8. A CheshiR Server Module or Dedicated Server?
      9. Summary
  4. Appendixes

    1. Appendix A Guide to XMPP Specifications

      1. XMPP RFCs
      2. XMPP Extension Protocols
      3. Humorous XEPs
      4. XMPP Compliance Suites
    2. Appendix Popular Servers, Clients, and Libraries

      1. Servers
      2. Clients
      3. Libraries
    3. Appendix Further Practical Considerations

      1. Getting Started
      2. Debugging Tools
      3. Network Setup
  1. Glossary

  2. Bibliography

  3. Colophon

View Full Table of Contents
Product Details
Title:
XMPP: The Definitive Guide
By:
Peter Saint-Andre , Remko Tronçon, Kevin Smith
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
April 2009
Ebook Release:
April 2009
Pages:
320
Print ISBN:
978-0-596-52126-4
| ISBN 10:
0-596-52126-X
Ebook ISBN:
978-0-596-80220-2
| ISBN 10:
0-596-80220-X
Customer Reviews
About the Authors
  1. Peter Saint-Andre

    Peter Saint-Andre has been contributing to the Jabber/XMPP developer community since late 1999, where he has focused on technology standardization as author of the XMPP RFCs and numerous XMPP extension protocols. Since 2002 he has also served as Executive Director of the XMPP Standards Foundation.

    View Peter Saint-Andre's full profile page.

  2. Kevin Smith

    Kevin Smith is currently Chair of the XMPP Council, having served as a Council member since 2006, and is also the co-author of several XMPP extensions. He has been the project leader on Psi, a popular open-source client for Jabber/XMPP communications since 2004, and has contributed to various other XMPP projects, covering code libraries, automated bots and assorted XMPP utilities.

    View Kevin Smith's full profile page.

  3. Remko Tronçon

    Remko Troncon is the lead developer of the Psi Jabber/XMPP client, and a contributor to various other XMPP-related applications. He has been a member of the XMPP Standards foundation since 2004, co-authoring and contributing to several XMPP extensions. He holds a Ph.D. in Engineering (Computer Science) from the Katholieke Universiteit Leuven.

    View Remko Tronçon's full profile page.

Colophon

<The animal on the cover of XMPP: The Definitive Guide is a kanchil mouse deer. The kanchil (<emphasis

Tragulus kanchil) lesser mouse deer of Southeast Asia is the smallest of all ungulates. At a mature size, they can be as little as 45 cm (18 in) and 2 kg (4.4 lb). Another name for this little creature is chevrotain. In Indonesia, they are called kanchil ("KON-chil"), and in Malaysia, pelandok ("puh-LON-do"). There are nine species of chevrotains/mouse deer that make up the Tragulidae family. Mouse deer are small, secretive creatures, about the size of a cat, that live in the jungles of Africa, Asia, and many Pacific islands. They have the legs and tail of a deer and the face and body of a mouse (but they are neither really a mouse nor a deer).Mouse deer eat only plants, but lots of animals eat the mouse deer. To stay alive, they must be quick and smart. Young of lesser mouse deer are called fawns or asses. The females are called does, hinds, or cows and males are called bucks, stags, or bulls. A lesser mouse deer group is called a herd. They are the smallest known hoofed mammal. These are the average mouse deer's measurements: body length is 70-75 cm, shoulder height is 30-35 cm, and tail length is 8-10 cm.Mouse deer are shy and their fawn tend to be "hiders." They are solitary animals, and usually interact only to mate. The young are weaned at 3 months of age, and reach sexual maturity between 5 and 10 months, depending on the species. Parental care is relatively limited. Although they lack the types of scent glands found in most other ruminants, they do possess a chin gland for marking each other as mates or antagonists, and, in the case of the water mouse deer, anal and preputial glands for marking territory. Their territories are relatively small, but neighbors generally ignore each other, rather than competing aggressively.Mouse deer are active at night. During the day, they stay in deeply shaded spots, among the dense vegetations inside original forests. Mouse deer are difficult to find in the forest during the day, but at night, they roam around the cleared areas, sometimes close to the seashore. One can often find mouse deer along the roadsides at night using flashlights. Their eyes flash very brightly once caught in the beam and they normally stare for some time before fleeing.

  • Book cover of XMPP: The Definitive Guide