AJAX (web technology)/Definition

From Citizendium
< AJAX (web technology)
Revision as of 18:52, 12 August 2008 by imported>Pat Palmer (first draft of a (too long) definition)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
A definition or brief description of AJAX (web technology).

Ajax is Javascript in a web page, making HTTP GET or POST requests, and providing a callback function which gets called back by the web server 4 times. Upon the fourth callback, the response is ready for processing, and at that point, the Javascript callback function parses the answer out of the string sent back from the web server and then updates some part of the web page with the new information. While this is happening, the web page is available for the user to use and interact with; the user only sees the result of the Ajax call and is not blocked from scrolling around the web page and interacting with it while the call is in progress in the background.