Chapter 3. AJAX in the Web Browser

In the previous chapter, you learned about all the core technologies that comprise the AJAX “stack.” You also learned about how these components of AJAX fit into the architecture of an AJAX application. In this chapter, we visit some of the common problems of getting an AJAX application running in a web browser and frame AJAX architecture in a familiar way using patterns.

First, we discuss some of the problems surrounding cross-browser development and adhering to web standards. Then, we show how to get your AJAX code up and running using several different browser-dependent techniques. After you know how to bootstrap JavaScript code, we take a closer look at implementing the Model-View-Controller pattern (MVC

Get Enterprise AJAX: Strategies for Building High Performance Web Applications 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.