Getting Started with HTML5 WebSocket Programming
暫譯: HTML5 WebSocket 程式設計入門
Vangos Pterneas
- 出版商: Packt Publishing
- 出版日期: 2013-07-20
- 售價: $1,360
- 貴賓價: 9.5 折 $1,292
- 語言: 英文
- 頁數: 110
- 裝訂: Paperback
- ISBN: 1782166963
- ISBN-13: 9781782166962
-
相關分類:
HTML
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$880$695 -
$1,176Digital Communications, 5/e (IE-Paperback)
-
$1,026Assembly Language for x86 Processors, 6/e (IE-Paperback)
-
$680$537 -
$680$537 -
$400$316 -
$1,200$948 -
$780$616 -
$720$612 -
$320$250 -
$480$379 -
$780$616 -
$490$382 -
$550$435 -
$580$493 -
$690$545 -
$620$490 -
$1,880$1,786 -
$300$237 -
$520$406 -
$480$379 -
$550$435 -
$720$612 -
$360$284 -
$220$187
商品描述
Develop and deploy your first secure and scalable real-time web application
Overview
- Start real-time communication in your web applications
- Create a feature-rich WebSocket chat application
- Learn the step-by-step configuration of the server and clients
In Detail
WebSockets are capable of bi-directional, full-duplex communication over a persistent TCP connection They provide many benefits compared to the alternatives (for example, long-polling or Comet), such as lower overhead, persistent connections, and low latency. In short, it is the most technically challenging HTML5 feature to implement, but for truly interactive websites, it's a technology worth learning.
Getting Started with HTML5 WebSocket Programming gives you the true power of bi-directional communication, implemented by using the brand new HTML5 WebSocket API. You’ll learn how to configure the server and clients, how to transmit different types of data and how to secure the whole system.
This book will introduce you to the WebSocket world. We start by introducing the WebSocket API, and continue with practical, real-world examples until we can determine how to build multi-functional web apps for any type of device.
You will learn how to configure a web client and a web server that will help you send messages to others using easy-to-use mechanisms. We will also find out how different data types, such as images and videos, can be transferred with little effort. We present additional fallback techniques and solutions for older browsers too. Finally, we will secure our clients from malicious attacks and other threats.
What you will learn from this book
- Understand the concepts of the WebSocket API and why it is superior to the existing techniques
- Implement a WebSocket client that will connect to a remote server and transmit messages to other clients
- Configure a WebSocket server using your existing skills and knowledge
- Implement native WebSocket clients for mobile and tablet devices
- Support older browsers that do not support HTML5 WebSockets
Approach
Getting Started with HTML5 Websocket Programming takes a tutorial-based approach.
Who this book is written for
This book is for anyone who wants to build high-performance, true, real-time web applications. Being familiar with frontend web development (HTML / XHTML, JavaScript) would be ideal.
商品描述(中文翻譯)
開發並部署您的第一個安全且可擴展的即時網頁應用程式
概述
- 在您的網頁應用程式中啟動即時通訊
- 創建一個功能豐富的 WebSocket 聊天應用程式
- 學習伺服器和客戶端的逐步配置
詳細內容
WebSockets 能夠在持久的 TCP 連接上進行雙向全雙工通訊。與其他替代方案(例如長輪詢或 Comet)相比,它們提供了許多優勢,例如較低的開銷、持久連接和低延遲。簡而言之,這是實現的最具技術挑戰性的 HTML5 特性,但對於真正互動的網站來說,這是一項值得學習的技術。
《HTML5 WebSocket 程式設計入門》讓您體驗雙向通訊的真正力量,這是通過使用全新的 HTML5 WebSocket API 實現的。您將學習如何配置伺服器和客戶端,如何傳輸不同類型的數據,以及如何保護整個系統。
本書將帶您進入 WebSocket 的世界。我們首先介紹 WebSocket API,然後通過實際的現實範例,直到我們能夠確定如何為任何類型的設備構建多功能的網頁應用程式。
您將學習如何配置一個網頁客戶端和一個網頁伺服器,這將幫助您使用易於使用的機制向其他人發送消息。我們還將了解如何輕鬆傳輸不同的數據類型,例如圖像和視頻。我們還將介紹額外的回退技術和解決方案,以支持舊版瀏覽器。最後,我們將保護我們的客戶端免受惡意攻擊和其他威脅。
您將從本書中學到的內容
- 理解 WebSocket API 的概念以及為什麼它優於現有技術
- 實現一個 WebSocket 客戶端,該客戶端將連接到遠程伺服器並向其他客戶端傳輸消息
- 使用您現有的技能和知識配置 WebSocket 伺服器
- 為移動和平板設備實現原生 WebSocket 客戶端
- 支持不支持 HTML5 WebSockets 的舊版瀏覽器
方法
《HTML5 WebSocket 程式設計入門》採取基於教程的方法。
本書的讀者對象
本書適合任何想要構建高性能、真正即時的網頁應用程式的人。熟悉前端網頁開發(HTML / XHTML、JavaScript)將是理想的。