Updating a web page
As noted in the previous tutorial, you can use the validation summary and the individual error messages in various combinations.Notice again that the page appears, make changes to the movie and click Submit Changes.
You will need to create 2 files: (or name it whatever you like, just be sure to change the file name in the Java Script section also). It does this by using a GET (a computers way of grabbing a file/value) to the “reload.txt” file.
The HTML5 Server-Sent event model allows you to push realtime data updates from the server to the browser.
In this tutorial we will work through the process, with the Event Source object handling received data and writing it to the page.
Stay in synch If more than one person is making changes to a site, make sure everyone knows what is happening.
The web has a wonderful ability to be dynamic, this is the way it should be.
We don’t need to rely on the user to manually update/refresh to see the latest changes, we should hand it to them, that’s what computers are for after all!