WebSocket: Lightweight Client-Server Communications (PaperBack) (WebSocket:輕量級客戶端-伺服器通訊)
Andrew Lombardi
- 出版商: O'Reilly
- 出版日期: 2015-10-20
- 定價: $875
- 售價: 9.5 折 $831
- 貴賓價: 9.0 折 $788
- 語言: 英文
- 頁數: 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$323 -
$690$538 -
$450$356 -
$680$537 -
$690$538 -
$2,180$2,071 -
$400$316 -
$450$356 -
$980$774 -
$580$458 -
$300$255 -
$500$390 -
$1,250$1,188 -
$580$458 -
$500$395 -
$680$530 -
$600$300 -
$800$624
相關主題
商品描述
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。你還將學習如何在 Transport Layer Security(TLS)中使用 WebSocket。
本書內容包括:
- 學習如何在客戶端應用程式中使用 WebSocket API 的事件、訊息、屬性和方法
- 使用 WebSocket 作為通訊層,在客戶端和伺服器上建立雙向聊天應用程式
- 為 STOMP 1.0(Simple Text Oriented Messaging Protocol)創建 WebSocket 的子協議
- 使用舊版不支援 WebSocket 的瀏覽器選項
- 使用 TLS 和其他工具保護你的 WebSocket 應用程式免受各種攻擊向量
- 通過學習 WebSocket 生命週期的各個方面來進行應用程式調試