Overview
AJAX
- Asynchronous JavaScript and XML
- Combines client-side processing and server-side technologies
- Client-side processing uses javascript
- XML is often the language for passing data, although Rails
generally uses JSON (Javascript Object Notation) as the language for
passing data.
- Produces more responsive user interactions
Other terminology
- Rich Internet Applications (RIAs) --- these web applications
provide interactive user actions similar to those provided by a
desktop application (e.g. drag and drop).
- Web 2.0 --- refers to a second generation of web applications,
especially involving user-provided content. These applications often
make use of rich interactions required for WYSIWYG editors.
AJAX and Rails
AJAX processes can be deployed in Rails using Ruby method calls.
Coding in Javascript and JSON is not needed.
Rails helpers generally use the Prototype and Script.aculo.us javascript libraries, although the increasingly popular jQuery library can be used too.