Chapter 7. Using the Engine
Now that we have an Ajax engine created, let’s take a look at how to use it. This chapter will focus on how to make an XHR through the AjaxUpdater, and how to access properties and call various methods within the Ajax object. After we have completed this chapter, you will know how to put the engine to work in any Ajax application, no matter how big or how small. This engine provides great flexibility because it abstracts all of an application’s XHRs, keeps them consistent and, ultimately, makes them easier to manage. We will start with the basics by getting the files loaded in a sample application.
Get Ajax for Web Application Developers 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.