CDN$ 52.46
  • List Price: CDN$ 66.00
  • You Save: CDN$ 13.54 (21%)
In Stock.
Ships from and sold by Gift-wrap available.
Professional XMPP Program... has been added to your Cart
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Professional XMPP Programming with JavaScript and jQuery Paperback – Dec 18 2009

See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 52.46
CDN$ 36.80 CDN$ 39.24

Harry Potter and the Cursed Child
click to open popover

Special Offers and Product Promotions

  • You'll save an extra 5% on Books purchased from, now through July 29th. No code necessary, discount applied at checkout. Here's how (restrictions apply)

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Product Details

  • Paperback: 480 pages
  • Publisher: Wrox (Jan. 7 2010)
  • Language: English
  • ISBN-10: 0470540710
  • ISBN-13: 978-0470540718
  • Product Dimensions: 18.8 x 2.3 x 23.6 cm
  • Shipping Weight: 1 Kg
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #927,896 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

From the Back Cover

Create real-time, highly interactive apps quickly with the powerful XMPP protocol

XMPP is a robust protocol used for a wide range of applications, including instant messaging, multi-user chat, voice and video conferencing, collaborative spaces, real-time gaming, data synchronization, and search. This book teaches you how to harness the power of XMPP in your own apps and presents you with all the tools you need to build the next generation of apps using XMPP or add new features to your current apps. Featuring the JavaScript language throughout and making use of the jQuery library, the book contains several XMPP apps of increasing complexity that serve as ideal learning tools.

  • Learn about XMPP's instant messaging features, such as rosters, presence and subscriptions, and private chats

  • Covers XMPP stanzas, stanza errors, and client protocol syntax and semantics

  • Discusses service discovery, data forms, and publish-subscribe

  • Addresses XMPP programming-related topics such as application design, event handling, and combining existing protocols

  • Details the best ways to deploy XMPP-based applications

  • Explains how to use Strophe's plugin system and how to create your own plugins

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

About the Author

Jack Moffitt is CTO of Collecta, where he leads a team that produces several XMPP-related projects including Strophe (a family of libraries for XMPP communication), Palaver (a group chat server), Punjab (an HTTP to XMPP gateway service), and Speeqe (a simple web-based group chat client). He alsoserved several terms on the Board of Directors and Council of the XMPP Standards Foundation.

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) HASH(0x9d418edc) out of 5 stars 10 reviews
5 of 5 people found the following review helpful
HASH(0x9d3a89a8) out of 5 stars Create awesome real-time apps for the web Feb. 13 2010
By Amazon Customer - Published on
Format: Paperback
Since the Jabber project officially became XMPP, this book is the second official tome of knowledge on the subject, and the first to specifically concentrate on XMPP development within the vein of leveraging the protocol to power low-latency web-based applications. Author Jack Moffitt does a tremendous job of introducing, working with, and building systems based on the often-confusing but critically important topic of creating online experiences based on real-time.

The book focuses on using Bidirectional streams Over Synchronous HTTP (BOSH) for empowering real-time communications over the web. The basic layout of an infrastructure to support such systems over current web technologies is dissected, and in so doing being one of the better discussions on the topic. This is helpful given the pushback many web devs typically have expressed in embracing a new technology stack.

After well-written overviews of XMPP, its lifecycle and requirements, the book is all about using BOSH to build practical, real-world demos. The examples are based on Strophe, a JavaScript library written by Moffitt, using a surprisingly simple and consistent pattern even beginning developers can pick up and be productive with in their own projects. It's code you can easily understand and use for your own work.

The book is divided into 14 chapters that won't take you all day to read and follow along with. Each chapter is about 20-30 pages, intelligently written, logically organized and appropriately enhanced with URLs, illustrations, screengrabs and syntactical explanations to support the subject. Moffitt's voice is very friendly, and the chapters are long enough to give attention to the topic at-hand, but not drawn out to be boring. You can tackle each demo at a single sitting, run the code, and then expand upon it.

The appendices are also extremely helpful, focusing on introduction to the jQuery framework, and working with BOSH connection managers. Both are very concise and helpful (although I would have appreciated an additional appendix that gets more in-depth on working with Strophe).

As far as the book's physical qualities, the Wrox binding is sturdy with thick paper, so it'll survive the process of violently flipping back and forth and forcing the book to lie flat as you work through the examples.

In short, Professional XMPP explores just a corner of the full range of services you can create with XMPP within the browser - not just merely IM for the web. That serves to be the underlying theme and key message for this book: you can create great, powerful, push-based apps with the universally familiar toolset of HTML, CSS and JavaScript.

It's a great read for anyone wanting to get up and running with XMPP for the web, and will make a very welcome addition to any developmental library.
5 of 5 people found the following review helpful
HASH(0x9d3a89fc) out of 5 stars Practical XMPP Jan. 4 2010
By grantmichaels - Published on
Format: Paperback Verified Purchase
I want to preface this review by stating that I read this book without working through much of the code, as I was doing a compare/contrast between XMPP and AMQP over the holidays.

That being said, I thoroughly enjoyed the author's presentation, and this was a standout book from Wrox for me, as they've improved the quality of their paper (thicker and now white), typesetting (smaller margins), and I suppose even the use of a graphic for the cover (as opposed to the author's picture) was well-received ...

The author is clearly well-versed in XMPP, and the introduction was very effective at getting me up to speed on using XMPP in an immediately sense. The chapters built upon one another in complexity, and I never felt lost, or had to re-read along the way.

Overall, I thought this book was effective, and the author's style made for an enjoyable read - one that wasn't terribly dry and at once didn't feel self-indulgent ...
5 of 6 people found the following review helpful
HASH(0x9d3a8cd8) out of 5 stars Extremely Helpful Jan. 20 2010
By Gabriel Hollombe - Published on
Format: Paperback Verified Purchase
If you're thinking about doing anything with XMPP and web applications, buy this book.

In writing my first XMPP web application (which is actually my first XMPP application ever), this book has been extremely helpful. The beginning chapters give a thorough overview of the basics of XMPP, while the remaining chapters provide real-world walkthroughs of example XMPP web applications with well-commented, easy to understand source code.

Before I bought the book, I knew enough about XMPP to think that it might be a good fit for a project I'm working on. After reading the book, I felt well-informed about XMPP as an architecture and I was convinced that my web app would, indeed, be a perfect fit for using XMPP as its transport protocol. Thanks to the many code samples in the book, I was able to create a proof of concept of my web application, using XMPP for real-time communication, in only a few days. There's no way I could have gotten up to speed so quickly without this book.

It's also worth mentioning that the author is an extremely knowledgeable and active participant in the XMPP community. On his blog, [...], he shares many insights and tips about building XMPP web applications. It's a great supplement to this book and not to be missed.
2 of 2 people found the following review helpful
HASH(0x9d3a8bd0) out of 5 stars Exemplary April 20 2010
By George Bray - Published on
Format: Paperback
Jack Moffitt is such a clear writer. Perhaps it's all the communication and message exchange he's experienced as an XMPP expert.

I've been following jabber/XMPP for a few years now, looking at it as a potential technology for writing multiplayer games. 'Professional XMPP' is the book I've been waiting for. Jack deftly introduces the required subjects and follows up with very readable examples (code that works!).

The application examples guide you from simple connectivity to complex multi-user demos. Jack cares so much for you, dear reader, that he provides a test server for experimentation. Without this, it could be a blocker for many people who are more adept at javascript than configuring servers and proxies.

If you're into mainstream web technologies you'll find his embrace of jQuery just right. You don't have to use it, but Strophe uses the same chaining methods that you probably already know.

This book will get you thinking about things that will trip up your app. It provides detailed, well commented examples which are downloadable from the publisher site.

Highly recommended.
2 of 2 people found the following review helpful
HASH(0x9d3aa228) out of 5 stars Essential for working with XMPP April 23 2010
By Aaron Winborn - Published on
Format: Paperback Verified Purchase
This book was an excellent guide to the world of XMPP. Although most of this information is available on the Internet, it is often disjointed, conflicting, and difficult to week through. However, Jack was able to help make sense of it all, and leads the reader step-by-step through integrating XMPP with the Web.

If you are struggling to understand XMPP and create a chat client for your site, this book is an essential, which I highly recommend. In fact, I used many of the ideas found in the book to create DXMPP, a module for a Facebook-like chat client for Drupal. This book is definitely the go-to for web developers wanting to learn XMPP.