- XHTML for marking up web pages
- CSS for style
- The dynamic display and interaction using the DOM
- Handling and data exchange using XML
- Data recovery using XMLHttpRequest
Ajax allows you to recover data to a web page without having to refresh the contents of the entire page. In the Web-based architecture, the user clicks a link or submits a form. The form is submitted to the server, which then returns a response. The answer is then displayed to the user on a new page.
How Rails Implements Ajax
Rails has a simple and consistent pattern in how it implements Ajax operations. Once the browser has rendered and displayed the initial web page, different user actions cause the display of a new web page (like any traditional web app) or trigger an Ajax operation.