Data Push Apps with HTML5 SSE

Data Push Apps with HTML5 SSE

4.11 - 1251 ratings - Source

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 doesna€™t require constant polling or user interaction. Youa€™ll learn how to build a real-world SSE application from start to finish that solves a demanding domain problem. Youa€™ll also discover how to increase that applicationa€™s desktop and mobile browser support from 60% to 99%, using different fallback solutions. If youa€™re familiar with HTML, HTTP, and basic JavaScript, youa€™re ready to get started. Determine whether SSE, WebSockets, or data pull is best for your organization Develop a working SSE application complete with backend and frontend solutions Address error handling, system recovery, and other issues to make the application production-quality Explore two fallback solutions for browsers that dona€™t support SSE Tackle security issues, including authorization and qdisallowed originq Develop realistic, repeatable data thata€™s useful in test-driven SSE design Learn SSE protocol elements not covered in the example applicationThe browser wona#39;t detect the socket has failed and our keep-alive process will get to do its work. Another ... The STOP signal means go to sleep. ... The client cannot tell the difference between going quiet, a temporary problem, or a fatal problem. This is why ... Then you will see it alternate between 10 seconds of activity (the seed of the new cona€nection will be printed to screen) and 10 seconds ofquiet.

Title:Data Push Apps with HTML5 SSE
Author:Darren Cook
Publisher:"O'Reilly Media, Inc." - 2014-03-20


You Must CONTINUE and create a free account to access unlimited downloads & streaming