AJAX
AJAX
Jackson Abraham A
1025917
1st MCA
AJAX (programming)
AJAX (shorthand for Asynchronous JavaScript and XML)
AJAX is not a new programming language, but a new way to use existing standards. It is the
art of
exchanging data with a server, and update parts of a web page - without reloading the whole
page.
AJAX is a group of interrelated web development techniques used on the client-side to create
interactive web applications.
With Ajax, web applications can retrieve data from the server asynchronously in the
background
without interfering with the display and behavior of the existing page. The use of Ajax
techniques
has led to an increase in interactive or dynamic interfaces on web pages. Data is usually
retrieved
using the XMLHttpRequest object. Despite the name, the use of XML is not actually
required, nor
do the requests need to be asynchronous.
Like DHTML (Dynamic HTML) and LAMP (Linux, Apache HTTP Server, MySQL and Perl/PHP/Python),
Ajax is not
a technology in itself, but a group of technologies. Ajax uses a combination of HTML and
CSS
(Cascading Style Sheets) to mark up and style information. The DOM (Document Object Model) is
accessed with JavaScript to dynamically display, and to allow the user to interact with, the
information presented. JavaScript and the XMLHttpRequest object provide a method for
exchanging data asynchronously between browser and server to avoid full page reloads.
What is AJAX?
AJAX allows web pages to be updated asynchronously by exchanging small amounts of data
with
the server behind the scenes. This means that it is possible to update parts of a web page,
without
reloading the whole page.
Classic web pages, (which do not use AJAX) must reload the entire page if the content
should
change.
Examples of applications using AJAX: Google Maps, Gmail, Youtube, and Facebook tabs.