Practical XMPP

Lloyd Watkin, David Koelle

  • 出版商: Packt Publishing
  • 出版日期: 2016-09-30
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 248
  • 裝訂: Paperback
  • ISBN: 1785287982
  • ISBN-13: 9781785287985
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Unleash the power of XMPP in order to build exciting, real-time, federated applications based on open standards in a secure and highly scalable fashion

About This Book

  • Learn about the fundamentals of XMPP and be able to work with the core functionality both server-side and in the browser
  • Build a simple 1-to-1 chat (the Hello World of XMPP), explore multi-user chat, publish subscribe systems, and work with a decentralized social network
  • Author Lloyd Watkins is a member of the XMPP standards committee

Who This Book Is For

If you want to learn about the fundamentals of XMPP, be able to work with the core functionality both server-side and in the browser then this book is for you.No knowledge of XMPP is required, or of TCP/IP networking. It's important that you already know how to build applications of some form, and are looking get a better understanding of how to implement XMPP for one or more of its many uses. You should be interested in the decentralized web, know HTML, and likely know JavaScript and NodeJS. You will probably know JSON, and hopefully XML (this is the native output of XMPP).

What You Will Learn

  • Install and configure an XMPP server and use it to connect from a traditional desktop client and send a message
  • Build a simple server-side application that will respond to messages from our logged in desktop client
  • Install and run XMPP-FTW, connect to the server from the browser, and handle incoming/outgoing messages
  • Connect to a multi-user chat room, send/receive stanzas, add a room password, join a protected room, set the room s subject, and change a user's affiliation
  • Get to grips with the publish-subscribe extension of XMPP and use it to build a pusher system that can make any website real-time
  • Build a simple XMPP component and create an extension for XMPP-FTW that allows you to use your own custom format
  • Build an XMPP version of the classic game Pong

In Detail

XMPP (eXtensible Messaging and Presence Protocol) is a messaging protocol that enables communication between two or more devices via the Internet.

With this book, developers will learn about the fundamentals of XMPP, be able to work with the core functionality both server-side and in the browser, as well as starting to explore several of the protocol extensions. You will not only have a solid grasp of XMPP and how it works, but will also be able to use the protocol to build real-world applications that utilize the power of XMPP. By the end of this book, you will know more about networking applications in general, and have a good understanding of how to extend XMPP, as well as using it in sample applications.

Style and approach

Through a number of hands-on projects, this book shows you how to build usable applications that highlights a feature of XMPP.

商品描述(中文翻譯)

發揮XMPP的力量,以安全且高度可擴展的方式基於開放標準建立令人興奮的即時聯邦應用程式。

關於本書:
- 學習XMPP的基礎知識,並能夠在伺服器端和瀏覽器中使用核心功能。
- 建立一對一簡單聊天(XMPP的Hello World),探索多用戶聊天、發布訂閱系統,以及使用分散式社交網路。
- 作者Lloyd Watkins是XMPP標準委員會的成員。

本書適合對以下內容感興趣的讀者:
- 想要學習XMPP的基礎知識,並能夠在伺服器端和瀏覽器中使用核心功能。
- 不需要了解XMPP或TCP/IP網路知識,但應已具備建立應用程式的能力,並希望更深入了解如何實現XMPP的多種用途。
- 對於分散式網路有興趣,應該熟悉HTML,可能熟悉JavaScript和NodeJS。應該熟悉JSON,並且最好熟悉XML(這是XMPP的原生輸出格式)。

你將學到以下內容:
- 安裝和配置XMPP伺服器,並使用傳統桌面客戶端連接並發送訊息。
- 建立一個簡單的伺服器端應用程式,以回應從已登入的桌面客戶端發送的訊息。
- 安裝並運行XMPP-FTW,從瀏覽器連接到伺服器,並處理收發訊息。
- 連接到多用戶聊天室,發送/接收訊息,添加房間密碼,加入受保護的房間,設定房間主題,以及更改使用者的職位。
- 瞭解XMPP的發布訂閱擴展,並使用它建立一個可以使任何網站實時的推送系統。
- 建立一個簡單的XMPP元件,並為XMPP-FTW創建一個擴展,使您可以使用自己的自定義格式。
- 建立一個XMPP版本的經典遊戲Pong。

詳細內容:
XMPP(可擴展訊息和在線狀態協議)是一種通過互聯網使兩個或多個設備進行通信的通訊協議。

通過本書,開發人員將學習XMPP的基礎知識,能夠在伺服器端和瀏覽器中使用核心功能,並開始探索幾個協議擴展。您不僅將對XMPP及其工作原理有扎實的掌握,還將能夠使用該協議來建立利用XMPP強大功能的實際應用程式。通過本書,您將對網路應用程式有更深入的了解,並對如何擴展XMPP以及在示範應用程式中使用它有良好的理解。

風格和方法:
通過一系列實踐項目,本書向您展示如何建立可用的應用程式,以突出XMPP的功能。