Your SlideShare is downloading. ×
0
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Interacting with XMPP using PHP
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Interacting with XMPP using PHP

19,260

Published on

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.

Published in: Technology
2 Comments
2 Likes
Statistics
Notes
  • 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
No Downloads
Views
Total Views
19,260
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
157
Comments
2
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Interacting with XMPP Servers using PHP
    Sudar Muthu (@sudarmuthu)
    http://sudarmuthu.com
    Research Engineer
    Yahoo Research
    Bangalore PHP Meetup – 26 June 2010
  • 2. Agenda
    What is XMPP?
    Who uses XMPP
    Features
    Components
    XMPP Stanzas
    Code/Demo
    Why?
    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 XMPP
    Google (Gmail, AppEngine, Google Wave Protocol)
    Facebook (chat)
    Friendfeed (Notification)
    Identica (Twitter Clone)
    Yammer
    Chesspark (Real-time game)
  • 5. Features of XMPP
    Decentralization
    Real-time
    Open standards
    Security
    Flexibility
    Extensibility
    Libraries available for all major languages
  • 6. Components of XMPP
    Servers
    Clients
    Components
    Plugins
  • 7. XMPP Stanzas
    Presence 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 code
    Demo available at http://sudarmuthu.com/demos/xmpp/gmail.php
  • 9. Why use XMPP in web applications?
    Real-time data
    Push, instead of pull
    Extensible
    Built for concurrent users
  • 10. Questions
    Thank you

×