- Wydawnictwo: O'Reilly Media
- Data wydania: 16 kwietnia 2009
- Liczba stron: 320
- Peter Saint-Andre
- Kevin Smith
- Remko Tronďż˝ďż˝ďż˝ďż˝on
This practical book provides everything you need to know about the Extensible Messaging and Presence Protocol (XMPP). This open technology for real-time communication is used in many diverse applications such as 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. You'll not only learn simple yet powerful XMPP tools, but you'll also discover, through real-world developer stories, how common XMPP "building blocks" can help solve particular classes of problems.
With this book, you will:
- Learn the basics of XMPP technologies, including architectural issues, addressing, and communication primitives
- Understand the terminology of XMPP and learn about the wealth of XMPP servers, clients, and code libraries
- Become familiar with the XMPP concepts and services you need to solve common problems
- Construct a complete business application or real-time service with XMPP
Every day, more software developers and service providers are using XMPP for real-time applications, and with the help of XMPP: The Definitive Guide, you can, too.
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.
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.
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.
Zawartość (spis treści):
An Overview of XMPP
- Chapter 1 Introduction
- What Can You Do with XMPP?
- Brief History
- Open Source and Open Standards
- Chapter 2 Basics of XMPP
- Streaming XML
- Communication Primitives
- Hello Hello World World: Building a Basic XMPP Application
The XMPP Toolkit
- Chapter 3 Presence
- Is Anybody Home?
- Authorization Required: The Subscription Handshake
- How Presence Is Propagated
- Availability Status
- Presence Priorities
- Directed Presence
- Going Offline
- Rich Presence
- Presence and Rosters
- Using Presence
- Chapter 4 Instant Messaging
- I Think, Therefore IM
- Chat Sessions
- Are You There? Chat State Notifications
- Looks Matter: Formatted Messages
- Who Are You? vCards
- Talk to the Hand: Blocking and Filtering Communication
- More Messaging Extensions
- Chapter 5 Discovering the World
- Items and Info
- Using Service Discovery with Servers and Services
- Using Service Discovery with Clients
- Chapter 6 Data Forms
- Basic Structure
- Using Data Forms
- Defining Your Terms: Form Types
- Including Media in Data Forms
- Chapter 7 Multi-Party Interactions
- Starting the Party
- Groupchat Basics
- Crowd Control
- What’s in a Nick?
- Configure This!
- Privacy, Security, and All That Jazz
- MUC As a Data Transport
- Chapter 8 Publish/Subscribe
- Why It Matters
- Publishing and Receiving Notifications
- Payloads: To Send or Not to Send?
- Items: To Store or Not to Store?
- Discovering Nodes
- Node Management
- Personal Eventing: PubSub Simplified
- Chapter 9 Jingle: Jabber Does Multimedia
- To Instant Messaging and Beyond
- The Jingle Model
- Making a Call
- A Swarm of NATs
- Jingle on ICE
- Additional Jingle Actions
- Chapter 10 Sending Binary Data
- Starting Small: Bits of Binary
- Moving On Up: Transferring Midsize Files In-Band
- Thinking Big: Sending Large Files Out-of-Band
- Negotiating File Transfer
- Chapter 11 Remote Commands
- Controlling Clients
- Providing Custom Commands
- Advanced Workflows: SOAP, RPC, IO Data
- Chapter 12 Connection Methods and Security
- Negotiating an XMPP Stream
- Authentication Options
- Encrypting the Connection
- Server Federation
- Server Components
- BOSH: XMPP over HTTP
- Serverless Messaging
- XMPP Security
Putting It All Together
- Chapter 13 Design Decisions
- Is XMPP the Right Choice?
- How the XMPP Community Works
- Writing XMPP Software
- Extending XMPP
- Chapter 14 Building an XMPP Application
- The CheshiR Microblogging Platform
- First Sprint: The CheshiR XMPP IM Bot
- Second Sprint: Configuring the CheshiR XMPP IM Bot
- Third Sprint: Scaling the CheshiR XMPP Service Using a Server Component
- Fourth Sprint: Registering with the CheshiR Server Component
- Fifth Sprint: Extending the Server Component with Rosters
- Future Sprints
- A CheshiR Server Module or Dedicated Server?
- AppendixA Guide to XMPP Specifications
- XMPP RFCs
- XMPP Extension Protocols
- Humorous XEPs
- XMPP Compliance Suites
- AppendixPopular Servers, Clients, and Libraries
- AppendixFurther Practical Considerations
- Getting Started
- Debugging Tools
- Network Setup