In: Computer Science
What is AJAX? What are the main characteristics of this technology? What are the existing standards that AJAX is based on? Explain how AJAX works.
The answer to the question is given below.
What Is AJAX?
AJAX -----> Asynchronous JavaScript and XML.
AJAX is a new technique for creating better, faster and more
interactive web applications with the help of XML, HTML, CSS,
JAVASCRIPT.
Using AJAX, web applications can send and receive data from the
server asynchronously ( in the background , without reloading the
page)
It is not a programming language.
AJAX is a misleading name. AJAX can use XML to transport data. It
is the same as transporting data in plain text or JSON text.
For Example, :>> Google Suggest, Youtube, Facebook tabs use
AJAX.
What are the main characteristics of this
technology?
1. Update the web page without reloading and make the web page
faster.
2. It is independent of server technology
3. No need to push the reload button and reload the complete
website page.
4. No need to reload the whole page, some part of the page is
needed to be reloaded.
5. Dynamically load the content of the page.
What are the existing standards that AJAX is based
on?
AJAX is based on Internet Standards and uses the combination of the
following techniques.
An object of XMLHttpRequest (to exchange the data with the server
asynchronously)
Java Script/Data Object Model(DOM) --> for display or
interaction with the information.
CSS-> for the styling of the data
XML---> Format for transporting the data.
How AJAX works?
The steps how AJAX works is given in the image below.
If the answer helped please upvote it means a lot. For any query
please comment.