O'Reilly logo

The Rails 5 Way, Fourth Edition by Kevin Faustino, Obie Fernandez

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 20 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 name AJAX

Ajax is an acronym that stands for Asynchronous JavaScript and XML. It encompasses techniques that enable 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

• “Type ahead” input suggestion, as in Google search.

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

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