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
video
Serverless Applications with AWS
See it. Do it. Learn it! Serverless Applications with AWS teaches you to build serverless applications …
book
Front-End Developer
This book covers the role of front-end developer in terms of typical responsibilities, required skills and …
audiobook
What's New in AI: Open Source Large Language Models with Eric Xing (Audio)
Join host George Anadiotis and guest Eric Xing, for a discussion about the current and expanding …
book
CSS Pocket Reference, 5th Edition
When youâ??re working with CSS and need an answer now, this concise yet comprehensive quick reference …