Book description
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.
Table of contents
- Preface
- 1. All About SSE...And Then Some
- 2. Super Simple Easy SSE
- 3. A Delightfully Realistic Data Push Application
- 4. Living in More Than the Present Moment
- 5. No More Ivory Tower: Making Our Application Production-Quality
- 6. Fallbacks: Data Push for Everyone Else
- 7. Fallbacks: There Has to Be a Better Way!
- 8. More SSE: The Rest of the Standard
-
9. Authorization: Who’s That Knocking at My
Door?
- Cookies
- Authorization (with Apache)
- HTTP POST with SSE
- Multiple Authentication Choices
- SSL and CORS (Connecting to Other Servers)
- Allow-Origin
- Fine Access Control
- HEAD and OPTIONS
- Chrome and Safari and CORS
- Constructors and Credentials
- withCredentials
- CORS and Fallbacks
- Putting It All Together
- The Future Holds More of the Same
-
A. The SSE Standard
-
W3C Candidate Recommendation 11 December 2012
- Abstract
- Status of This Document
- Table of Contents
- 1 Introduction
- 2 Conformance requirements
- 3 Terminology
- 4 The EventSource interface
- 5 Processing model
- 6 Parsing an event stream
- 7 Interpreting an event stream
- 8 Notes
- 9 Connectionless push and other features
- 10 Garbage collection
- 11 IANA considerations
- References
- Acknowledgements
-
W3C Candidate Recommendation 11 December 2012
- B. Refactor: JavaScript Globals, Objects, and Closures
- C. PHP
- Index
- Colophon
- Copyright
Product information
- Title: Data Push Apps with HTML5 SSE
- Author(s):
- Release date: March 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449371937
You might also like
book
Learning TypeScript
TypeScript has conquered the world of JavaScript: it's one of the world's fastest growing and most …
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …
book
Database Internals
When it comes to choosing, using, and maintaining a database, understanding its internals is essential. But …
book
Skills of a Successful Software Engineer
Skills to grow from a solo coder into a productive member of a software development team, …