CHAPTER |
5 |
Web Remoting Techniques— the A in Ajax
Chapter Objectives
• Discuss Web Remoting
• Introduce the XMLHttpRequest object and how to make asynchronous requests
• Discuss the hidden IFrame technique and give an example
• Describe the HTTP Streaming technique
5.1 Web Remoting
Web Remoting is a term used to categorize the technique of using JavaScript to directly make an HTTP request to the server and process the response. By tradition, web browsers initiate HTTP requests, not scripts. The classical function of a web browser is based on a synchronous request-response model where HTTP requests are made in response to the user clicking links, submitting a form, or typing in a URL (Figure 5.1.1). The browser processes the request by discarding ...
Get Web Development with JavaScript and Ajax Illuminated now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.