Ruby on Rails

Ajax

The basic sequence: (documentation)
  1. A trigger action occurs on page (user clicks, timer)
  2. Data associated with trigger (field, form) sent to server via XHR.
  3. Server action handler is invoked, returns HTML.
  4. Client Javascript updates page using HTML.

José M. Vidal .

13 of 16