We’ve done a lot of server-side work, but now it’s time to do some work in the browser. Specifically, I want us to look at how we can “push” new information to the browser, without the user initiating the action (by clicking a button or typing a message).
“Isn’t That Ajax?”
When we looked at creating forms, in Chapter 5, we spoke about Ajax and Websockets. To recap, Ajax is a method for sending requests to the server, without loading a new URL in the browser, and updating small parts of the page when ...