Introduction To AJAX
Introduction To AJAX
Introduction To AJAX
“AJAX”
Submitted by:
DEEPAK VASHISHTH
2206033
What Is AJAX??
• AJAX stands for Asynchronous JavaScript And
XML.
• AJAX is a type of programming made popular in
2005 by Google (with Google Suggest).
• With AJAX you can create better, faster, and more
user-friendly web applications.
• AJAX is based on JavaScript and HTTP requests.
AJAX is based on the following
web standards:
• JavaScript
• XML
• HTML
• CSS
AJAX Uses HTTP Requests
• In traditional JavaScript coding, if you want to get
any information from a database or a file on the
server, or send user information to a server, you
will have to make an HTML form and GET or
POST data to the server. The user will have to
click the "Submit" button to send/get the
information, wait for the server to respond, then a
new page will load with the results.
• Because the server returns a new page each
time the user submits input, traditional web
applications can run slowly and tend to be
less user-friendly.
• With AJAX, your JavaScript communicates
directly with the server, through the
JavaScript XMLHttpRequest object
• With an HTTP request, a web page can
make a request to, and get a response from
a web server - without reloading the page.
The user will stay on the same page, and he
or she will not notice that scripts request
pages, or send data to a server in the
background.
AJAX is About Better Internet
Applications