Chapter 8. Dynamic Interaction between the Client and Server Application
The original design model of the web is similar to the way that mainframes worked in the 1970s. The interaction pattern for both old-school dumb terminals (such as the IBM 3270) and web browsers follows a request-response paradigm. While web browsers can show more complex information than old-school dumb terminals, the interaction pattern in both cases is a back-and-forth of user requests, each resulting in a screen of data sent by the server. Screen after screen, or in the case of web browsers, page after page. The future is moving rapidly. Web browsers with modern JavaScript engines can do so much more than the dumb terminals of yesteryear, or even the web browsers of just a couple years ago. One new technique is to keep a connection open with the server for continual data exchange between server and client, representing a change in the web application model. Some call this the real-time web.
With JavaScript on both...