Pushing Updates to the Web Page with HTML5 Server-Sent Events

In this tutorial we will work through the process, with the EventSource object handling received data and writing it to the page. We will use HTML5 and JavaScript at client side, with PHP at server side.