Getting Started with HTML5 WebSocket Programming
Vangos Pterneas
- 出版商: Packt Publishing
- 出版日期: 2013-07-20
- 售價: $1,340
- 貴賓價: 9.5 折 $1,273
- 語言: 英文
- 頁數: 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$578 -
$400$316 -
$1,200$948 -
$780$663 -
$720$612 -
$320$250 -
$480$379 -
$780$663 -
$490$382 -
$550$435 -
$580$493 -
$690$545 -
$620$490 -
$1,840$1,748 -
$300$237 -
$520$406 -
$480$379 -
$550$468 -
$720$612 -
$360$306 -
$220$198
相關主題
商品描述
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 WebSocket 的舊版瀏覽器
方法:
《開始使用 HTML5 WebSocket 編程》採用基於教學的方法。
本書適合對於構建高性能、真正的即時網頁應用程式有興趣的任何人。熟悉前端網頁開發(HTML / XHTML、JavaScript)將是理想的。