Data Push Apps with HTML5 SSE: Pragmatic Solutions for Real-World Clients (Paperback)

Data Push Apps with HTML5 SSE: Pragmatic Solutions for Real-World Clients (Paperback)

作者: Darren Cook
出版社: O'Reilly
出版在: 2014-04-22
ISBN-13: 9781449371937
ISBN-10: 1449371930
裝訂格式: Paperback
總頁數: 222 頁





內容描述


Make sure your website or web application users get content updates right now with minimal latency. This concise guide shows you how to push new data from the server to clients with HTML5 Server-Sent Events (SSE), an exceptional technology that doesn’t require constant polling or user interaction. You’ll learn how to build a real-world SSE application from start to finish that solves a demanding domain problem.You’ll also discover how to increase that application’s desktop and mobile browser support from 60% to 99%, using different fallback solutions. If you’re familiar with HTML, HTTP, and basic JavaScript, you’re ready to get started.Determine whether SSE, WebSockets, or data pull is best for your organizationDevelop a working SSE application complete with backend and frontend solutionsAddress error handling, system recovery, and other issues to make the application production-qualityExplore two fallback solutions for browsers that don’t support SSETackle security issues, including authorization and "disallowed origin"Develop realistic, repeatable data that’s useful in test-driven SSE designLearn SSE protocol elements not covered in the example application




相關書籍

從物聯到萬聯 : Node.js 與樹莓派萬維物聯網構建實戰

作者 多米尼加聯邦·D·吉納德 (Dominique D.Guinard) 弗拉德·M·特裡法 (Vlad M.Trifa)

2014-04-22

Go Design Patterns

作者 Mario Castro Contreras

2014-04-22

Rails 5 Test Prescriptions: Build a Healthy Codebase

作者 Noel Rappin

2014-04-22