O'Reilly logo

Web Development with JavaScript and Ajax Illuminated by Xiang Fu, Lixin Tao, Kai Qian, Richard Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required