WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

AJAX Introduction


AJAX is tied in with refreshing pieces of a website page, without reloading the entire page.


What is AJAX?

AJAX = Asynchronous JavaScript and XML.

AJAX is a strategy for making quick and dynamic web pages.

AJAX permits site pages to be refreshed nonconcurrently by trading little measures of information with the server in the background. This implies it is conceivable to refresh portions of a site page, without reloading the entire page.

Classic website pages, (which don't utilize AJAX) must reload the whole page if the substance ought to change.

Examples of utilizations utilizing AJAX: Google Maps, Gmail, Youtube, and Facebook tabs.


How AJAX Works

AJAX


AJAX is Based on Internet Standards

AJAX depends on web benchmarks, and utilizations a blend of:

  • XMLHttpRequest object (to trade information nonconcurrently with a server)
  • JavaScript/DOM (to show/collaborate with the information)
  • CSS (to style the data)
  • XML (frequently utilized as the organization for exchanging data)

Google Suggest

AJAX was made mainstream in 2005 by Google, with Google Suggest.

Google Suggest is utilizing AJAX to make a dynamic web interface: When you begin composing in Google's pursuit box, a JavaScript sends the letters off to a server and the server restores a rundown of suggestions.