1449371930
Data Push Apps with HTML5 SSE: Pragmatic Solutions for Real-World Clients
by 作者: Darren Cook
ISBN-10 书号: 1449371930
ISBN-13 书号: 9781449371937
Edition 版本: 1
Publisher Finelybook 出版日期: 2014-04-07
Pages: 222
Book Description
Data Push Apps with HTML5 SSE: Pragmatic solutions for real-world clients
HTML5 Server Side Events (SSE) allow the server to push new data to clients,providing a superior solution to having the client poll for new data every few seconds. Presently 60% of desktop and mobile browsers support it,but this book will show how to develop fallback solutions supporting 99%. SSE offers rapid updates with low latency,and is much simpler to implement than the complementary websockets approach. For many applications,SSE will provide a cleaner implementation more rapidly.
Contents
Chapter 1. All About SSE…And Then Some
Chapter 2. Super Simple Easy SSE
Chapter 3. A Delightfully Realistic Data Push Application
Chapter 4. Living in More Than the Present Moment
Chapter 5. No More Ivory Tower: Making Our Application Production-Quality
Chapter 6. Fallbacks: Data Push for Everyone Else
Chapter 7. Fallbacks: There Has to Be a Better Way!
Chapter 8. More SSE: The Rest of the Standard
Chapter 9. Authorization: Who’s That Knocking at My Door?
Appendix A. The SSE Standard
Appendix B. Refactor: JavaScript Globals,Objects,and Closures
Appendix C. PHP