XMPP or the Extensible Messaging and Presence Protocol originally named Jabber[1]) is an open communication protocol designed for instant messaging (IM), presence information, and contact list maintenance. it is used by almost all large messaging systems such as whatsapp, facebook, google talk and others. In this video we will go through XMPP architecture, explain how it works and then finallly show how to spin up an XMPP chat server and connect to it from node js.

  • Introduction 0:00
  • Why XMPP?
  • XMPP Architecture
    • Global addressing (JID)
    • Streams
    • Stanzas
    • Decentralized anyone can spin server
  • XMPP Transport
    • TCP 5222
    • HTTP long polling
  • Demo 8:20

Resources

https://tools.ietf.org/html/rfc6120

#node #developer #javascript

XMPP - Extensible Messaging and Presence Protocol (with Node JS and eJabberd)
2.75 GEEK