Ajax
Ajax provides a variation on the above approach:
- "normal" browser-to-server interaction is HTTP request
- this causes browser to read response as HTML (new page)
- Ajax sends XMLHttpRequests from browser-to-server
- browser does not refresh, but waits for a response
- response data (not HTML) is read and added into DOM
Leads to interaction appearing more like traditional GUI.
Examples: Gmail, Google calendar, Flickr, ....
|