Data Push Apps with HTML5 SSE
- Length: 222 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2014-04-07
- ISBN-10: 1449371930
- ISBN-13: 9781449371937
- Sales Rank: #3374629 (See Top 100 Books)
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.
Table of 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