WebSocket: Lightweight Client-Server Communications (PaperBack)
暫譯: WebSocket:輕量級客戶端-伺服器通訊 (平裝本)
Andrew Lombardi
- 出版商: O'Reilly
- 出版日期: 2015-10-20
- 定價: $875
- 售價: 9.5 折 $831
- 語言: 英文
- 頁數: 144
- 裝訂: Paperback
- ISBN: 1449369278
- ISBN-13: 9781449369279
-
相關分類:
網站開發、網站伺服器 Web-server
立即出貨 (庫存=1)
買這商品的人也買了...
-
$620$490 -
$860$731 -
$380$296 -
$780$616 -
$1,000$950 -
$780$616 -
$360$284 -
$380$300 -
$690$538 -
$450$356 -
$680$537 -
$690$538 -
$2,180$2,071 -
$400$340 -
$450$356 -
$980$774 -
$580$458 -
$300$255 -
$500$390 -
$1,270$1,207 -
$580$458 -
$500$395 -
$680$476 -
$600$300 -
$800$680
相關主題
商品描述
Until recently, creating desktop-like applications in the browser meant using inefficient Ajax or Comet technologies to communicate with the server. With this practical guide, you’ll learn how to use WebSocket, a protocol that enables the client and server to communicate with each other on a single connection simultaneously. No more asynchronous communication or long polling!
For developers with a good grasp of JavaScript (and perhaps Node.js), author Andrew Lombardi provides useful hands-on examples throughout the book to help you get up to speed with the WebSocket API. You’ll also learn how to use WebSocket with Transport Layer Security (TLS).
- Learn how to use WebSocket API events, messages, attributes, and methods within your client application
- Build bi-directional chat applications on the client and server with WebSocket as the communication layer
- Create a subprotocol over WebSocket for STOMP 1.0, the Simple Text Oriented Messaging Protocol
- Use options for older browsers that don’t natively support WebSocket
- Protect your WebSocket application against various attack vectors with TLS and other tools
- Debug applications by learning aspects of the WebSocket lifecycle
商品描述(中文翻譯)
直到最近,在瀏覽器中創建類似桌面的應用程式意味著使用低效的 Ajax 或 Comet 技術與伺服器進行通信。通過這本實用指南,您將學習如何使用 WebSocket,這是一種協議,允許客戶端和伺服器在單一連接上同時進行通信。再也不需要非同步通信或長輪詢了!
對於對 JavaScript(或許還有 Node.js)有良好掌握的開發者,作者 Andrew Lombardi 在全書中提供了有用的實作範例,幫助您快速熟悉 WebSocket API。您還將學習如何使用 WebSocket 與傳輸層安全性(Transport Layer Security, TLS)結合。
- 學習如何在您的客戶端應用程式中使用 WebSocket API 事件、消息、屬性和方法
- 使用 WebSocket 作為通信層,構建客戶端和伺服器之間的雙向聊天應用程式
- 在 WebSocket 上創建 STOMP 1.0 的子協議,即簡單文本導向消息協議
- 為不原生支持 WebSocket 的舊版瀏覽器使用選項
- 使用 TLS 和其他工具保護您的 WebSocket 應用程式免受各種攻擊向量
- 通過學習 WebSocket 生命週期的各個方面來調試應用程式