Read Data Push Applications Using HTML5 SSE: Pragmatic solutions for real-world clients by Darren Cook Online

data-push-applications-using-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 thaHTML5 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....

Title : Data Push Applications Using HTML5 SSE: Pragmatic solutions for real-world clients
Author :
Rating :
ISBN : 9781449371937
Format Type : Paperback
Number of Pages : 215 Pages
Status : Available For Download
Last checked : 21 Minutes ago!

Data Push Applications Using HTML5 SSE: Pragmatic solutions for real-world clients Reviews

  • Jordi Polo Carres
    2019-03-24 02:48

    The book goes through a real world whole implementation as opposed to several toy projects/examples as many other technical books.The book focus on how to deal with the problems you would face when moving from a working toy example to a real app.Most of these problems relate to the different level of support for server push we find in browsers today. If you do not need to support IE or pre-4.4 Android releases, probably you live in an easier world and you do not need to worry about many of these problems.Other real world issues the book solves are keep-alives for connections, periodic disconnection and connections, etc. The code is available in Github which is great for inspiration.The book shows the server side code using PHP. I do not use PHP myself so it looks horrible to my eyes but it is true that it is good to show stuff like http headers, etc. Very raw and very simple. There are also a few snippets for nodejs.The parts I disliked of the book were when it goes into details for the PHP implementation where I do not think should as it is unrelated to the topic in question. This is like one chapter which I just skipped.This is for sure the most compressive resource I've seen on the topic. If you need to work with this technology. Make yourself a favor and save some hours of pain, read this.If you are just playing with the technology as a hobbyist, enjoy life and just require Firefox or Chrome, still you will need to sort some things out (like connections being randomly closed by lack of activity).

  • Stuart
    2019-03-25 04:33

    If you have sleeping for the last couple of years and still think that AJAX is the latest and greatest thing in dynamic web page development then this is the book for you. HTML5 Server-Sent Events are the future in responsive dynamic and interactive web front ends. This book shows you how to implement SSE on both the client and the server side and you will also learn about PHP, designing high performance web applications and web security too.