AJAX Development
Ajax is a recently introduced web technology that
has benefited from the more sophisticated functionality
using easier-to-implement web standards. Due to
its added functionality, this technology is proving
to be a real alternative for creating powerful
web applications.
What is the reason behind the
sudden popularity of Ajax?
In reality, AJAX is a combination
of several technologies that incorporate:
* Standards-based presentation
using XHTML and CSS.
* Dynamic display and interaction using the Document
Object Model.
* Data interchange and manipulation using XML
and XSLT.
* Asynchronous data retrieval using XMLHttpRequest.
* JavaScript binding everything together.
* Continual adoption of standards compliant-browsers
that support Ajax technology, most notably Firefox,
Safari, Opera, and Internet Explorer.
How a typical Web application
model works?
In a typical web application model
where hypertext is adapted as a medium, actions
in the interface triggers a HTTP request to the
web server, then the server does some processing,
like retrieving data, crunching numbers, interacting
to various legacy systems, and finally returns
an HTML page to the client. During these processes,
user interaction comes to a halt every time when
the application needs something from the server.
How is Ajax different?
An Ajax application introduces
an intermediary - an Ajax engine - between the
user and the server. Instead of loading a webpage
at the start of the session, the browser loads
the Ajax engine, written in JavaScript, which
is responsible for both interpretationsbetween
the interface and the server or between the server
and user. The Ajax engine allows the user's interaction
with the application to happen asynchronously
- independent of communication with the server,
so that the user is never staring at a blank browser
window and an hourglass icon, waiting for the
server to do something.
Any user action takes the form
of a JavaScript call to the Ajax engine instead
of generating an HTTP request to the web server.
An Ajax engine handles data validation, editing
data in memory, and even some navigation by its
own. Even, the engine executes all those requests
asynchronously that further needs return response
against any query to the server regarding data
for processing, loading additional interface code,
or retrieving new data by using XML, without halting
a user's interaction with the application.
Contact us for more information:
info@magicway.org