Interacting with XMPP Servers using PHPSudar Muthu (@sudarmuthu)http://sudarmuthu.comResearch EngineerYahoo ResearchBangalore PHP Meetup – 26 June 2010
AgendaWhat is XMPP?Who uses XMPPFeaturesComponentsXMPP StanzasCode/DemoWhy?Questions
What is XMPP?  XMPP is a protocol for moving small, structured pieces of data between two places.  It is mainly used for Instant messaging, multi-user chatting, voice and video conferencing, collaborateive spaces, real-time gamming etc.
Who uses XMPPGoogle (Gmail, AppEngine, Google Wave Protocol)Facebook (chat)Friendfeed (Notification)Identica (Twitter Clone)YammerChesspark (Real-time game)
Features of XMPPDecentralizationReal-timeOpen standardsSecurityFlexibilityExtensibilityLibraries available for all major languages
Components of XMPPServersClientsComponentsPlugins
XMPP StanzasPresence Stanzas <presence type=“available” />Message Stanzas<message from=“from@example.com” to =“to@example.com”>		<body>Hello</body></message>IQ Stanzas<iq from=“from@example.com” type =“get” id =“roster1”>		<query xmlns=“jabber:iq:roster”/></iq>
Cut the scrap, show me the codeDemo available at http://sudarmuthu.com/demos/xmpp/gmail.php
Why use XMPP in web applications?Real-time dataPush, instead of pullExtensibleBuilt for concurrent users
QuestionsThank you

Interacting with XMPP using PHP

  • 1.
    Interacting with XMPPServers using PHPSudar Muthu (@sudarmuthu)http://sudarmuthu.comResearch EngineerYahoo ResearchBangalore PHP Meetup – 26 June 2010
  • 2.
    AgendaWhat is XMPP?Whouses XMPPFeaturesComponentsXMPP StanzasCode/DemoWhy?Questions
  • 3.
    What is XMPP? XMPP is a protocol for moving small, structured pieces of data between two places. It is mainly used for Instant messaging, multi-user chatting, voice and video conferencing, collaborateive spaces, real-time gamming etc.
  • 4.
    Who uses XMPPGoogle(Gmail, AppEngine, Google Wave Protocol)Facebook (chat)Friendfeed (Notification)Identica (Twitter Clone)YammerChesspark (Real-time game)
  • 5.
    Features of XMPPDecentralizationReal-timeOpenstandardsSecurityFlexibilityExtensibilityLibraries available for all major languages
  • 6.
  • 7.
    XMPP StanzasPresence Stanzas<presence type=“available” />Message Stanzas<message from=“from@example.com” to =“to@example.com”> <body>Hello</body></message>IQ Stanzas<iq from=“from@example.com” type =“get” id =“roster1”> <query xmlns=“jabber:iq:roster”/></iq>
  • 8.
    Cut the scrap,show me the codeDemo available at http://sudarmuthu.com/demos/xmpp/gmail.php
  • 9.
    Why use XMPPin web applications?Real-time dataPush, instead of pullExtensibleBuilt for concurrent users
  • 10.