WHAT'S IN THIS CHAPTER?
Creating and organizing an XMPP project
Making connections to XMPP servers
Building and manipulating XMPP stanzas
Sending data to the server
Handling XMPP events
The first application you write is the XMPP equivalent of the famous "Hello, World" example. It sends a message to your XMPP server and displays the response. It sounds simple, and it is, but there is a lot to cover with setting up the user interface, getting the required libraries, and learning about the Strophe library.
By the end of this chapter, you'll be ready to start building much more interesting applications. By the end of the book, you'll have built some compelling projects that would have been difficult without XMPP.
This chapter may be one of the toughest in the book simply because it is filled with lots of things that will be brand new.
The applications in this book assume some knowledge of the jQuery library. If you are not yet familiar with jQuery, there is a brief tutorial in Appendix A.
Before you ...