Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Interacting with XMPP Servers using PHP<br />Sudar Muthu (@sudarmuthu)<br />http://sudarmuthu.com<br />Research Engineer<b...
Agenda<br />What is XMPP?<br />Who uses XMPP<br />Features<br />Components<br />XMPP Stanzas<br />Code/Demo<br />Why?<br /...
What is XMPP?<br />  XMPP is a protocol for moving small, structured pieces of data between two places.<br />  It is mainl...
Who uses XMPP<br />Google (Gmail, AppEngine, Google Wave Protocol)<br />Facebook (chat)<br />Friendfeed (Notification)<br ...
Features of XMPP<br />Decentralization<br />Real-time<br />Open standards<br />Security<br />Flexibility<br />Extensibilit...
Components of XMPP<br />Servers<br />Clients<br />Components<br />Plugins<br />
XMPP Stanzas<br />Presence Stanzas<br /> <presence type=“available” /><br />Message Stanzas<br /><message from=“from@examp...
Cut the scrap, show me the code<br />Demo available at http://sudarmuthu.com/demos/xmpp/gmail.php<br />
Why use XMPP in web applications?<br />Real-time data<br />Push, instead of pull<br />Extensible<br />Built for concurrent...
Questions<br />Thank you<br />
Upcoming SlideShare
Loading in …5
×

Interacting with XMPP using PHP

23,501 views

Published on

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

Published in: Technology
  • Hi Sudar,

    i got the contact list as below, please help me what's error in first line and how to develop the chat list like as gmail

    OSType: Windows, Unable to register shutdown functions, try moving to a linux box OpenSSL: Enabled for CLI Starting TLS Encryption... Attempting PLAIN Authentication... Starting Session... Requesting Feature List... Requesting Roster List... Setting Status... Array ( [0] => shaik@gmail.com [1] => harta@gmail.com [2] => test@gmail.com ) Done
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi Sudar,

    i got the contact list from Google server,

    Many Thanks.............
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

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 />

×