Successfully reported this slideshow.

Interacting with XMPP using PHP

3

Share

Loading in …3
×
1 of 10
1 of 10

Interacting with XMPP using PHP

3

Share

Download to read offline

Slides from my talk about interacting with XMPP using PHP, which I gave at Bangalore PHP meetup.

Slides from my talk about interacting with XMPP using PHP, which I gave at Bangalore PHP meetup.

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

Related Audiobooks

Free with a 14 day trial from Scribd

See all

Interacting with XMPP using PHP

  1. 1. Interacting with XMPP Servers using PHP<br />Sudar Muthu (@sudarmuthu)<br />http://sudarmuthu.com<br />Research Engineer<br />Yahoo Research<br />Bangalore PHP Meetup – 26 June 2010<br />
  2. 2. Agenda<br />What is XMPP?<br />Who uses XMPP<br />Features<br />Components<br />XMPP Stanzas<br />Code/Demo<br />Why?<br />Questions<br />
  3. 3. What is XMPP?<br /> XMPP is a protocol for moving small, structured pieces of data between two places.<br /> It is mainly used for Instant messaging, multi-user chatting, voice and video conferencing, collaborateive spaces, real-time gamming etc.<br />
  4. 4. Who uses XMPP<br />Google (Gmail, AppEngine, Google Wave Protocol)<br />Facebook (chat)<br />Friendfeed (Notification)<br />Identica (Twitter Clone)<br />Yammer<br />Chesspark (Real-time game)<br />
  5. 5. Features of XMPP<br />Decentralization<br />Real-time<br />Open standards<br />Security<br />Flexibility<br />Extensibility<br />Libraries available for all major languages<br />
  6. 6. Components of XMPP<br />Servers<br />Clients<br />Components<br />Plugins<br />
  7. 7. XMPP Stanzas<br />Presence Stanzas<br /> <presence type=“available” /><br />Message Stanzas<br /><message from=“from@example.com” to =“to@example.com”><br /> <body>Hello</body><br /></message><br />IQ Stanzas<br /><iq from=“from@example.com” type =“get” id =“roster1”><br /> <query xmlns=“jabber:iq:roster”/><br /></iq><br />
  8. 8. Cut the scrap, show me the code<br />Demo available at http://sudarmuthu.com/demos/xmpp/gmail.php<br />
  9. 9. Why use XMPP in web applications?<br />Real-time data<br />Push, instead of pull<br />Extensible<br />Built for concurrent users<br />
  10. 10. Questions<br />Thank you<br />

×