Professional XMPP Programming with JavaScript and jQuery

The book's quite inspiring. Very few books on programming make me want to actually program something.

XMPP is the new black.

About the Book

Professional XMPP Programming with JavaScript and jQuery is a book about developing web applications using the XMPP protocol, written by Jack Moffitt and published by Wrox.

The book explains the XMPP protocol and its many uses as well as what types of problems it solves best. Nine applications are developed in increasing complexity, starting with an XMPP-based “Hello, World” example and ending with a real-time, multi-user gaming system for Tic-Tac-Toe.

About the Author

Jack Moffitt is a hacker and entrepreneur based in Albuquerque, New Mexico. He has founded several startups built on XMPP technology including Chesspark, a real-time, multi-user gaming platform, and Collecta, a real-time search engine for the Web.

He has started and contributed to numerous XMPP related open source and free software projects including the Strophe XMPP client libraries, the Punjab XMPP connection manager, the Palaver multi-user chat component, the Speeqe group chat application. He also has served several terms on both the XSF Board of Directors and the XSF Council. Previous to his XMPP work, he created the Icecast streaming media server, managed the Ogg, Vorbis, and Theora codec projects, and co-founded the Foundation, a standards organization for royalty-free multimedia technologies for the Internet.

He is passionate about free software and open source, open standards, and Internet technology. His favorite programming languages include JavaScript, Erlang, and Python. You can find him at, blogging about start-ups and code, as @metajack on Twitter and Identica, or often spreading the word of XMPP at technology conferences.

Table of Contents

  1. Chapter 1: Getting to Know XMPP
  2. Chapter 2: Designing XMPP Applications
  3. Chapter 3: Saying Hello: The First Application
  4. Chapter 4: Exploring the XMPP Protocol: A Debugging Console
  5. Chapter 5: Microblogging in Real Time: An Identica Client
  6. Chapter 6: Talking with Friends: One-on-One Chat
  7. Chapter 7: Exploring Services: Service Discovery and Browswing
  8. Chapter 8: Group Chatting: A Multi-User Chat Client
  9. Chapter 9: Publishing and Subscribing: A Shared Sketch Pad
  10. Chapter 10: Writing with Friends: A Collaborative Text Editor
  11. Chapter 11: Playing Games: Head-to-Head Tic-Tac-Toe
  12. Chapter 12: Getting Attached: Bootstrapping BOSH
  13. Chapter 13: Deploying XMPP Applications
  14. Chapter 14: Writing Strophe Plugins
  15. Appendix A: Getting Started with jQuery
  16. Appendix B: Setting Up a BOSH Connection Manager