Chapter 12. Ajax on Rails

Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways

—Jesse J. Garrett, who coined the term

Ajax is an acronym that stands for Asynchronous JavaScript and XML. It encompasses techniques that allow us to liven up web pages with behaviors that happen outside the normal HTTP request life cycle (without a page refresh).

Some example use-cases for Ajax techniques are

• Sending form data asynchronously

• Seamless navigation of web-presented maps, as in Google Maps

• Dynamically updated lists and tables, as in Gmail and other web-based email services

• Web-based spreadsheets

• Forms that allow in-place editing

• Live preview of formatted ...

Get The Rails Way now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.