Archive for the 'AJAX' Category

AJAX Basics

Tuesday, March 28th, 2006

I have undergone a training on javascript, DHTML & Ajax. The training session was very basic and informative too. In this Article i have taken some of the basic points which was taken in the training session and have presented the same below. To do asynchronous communication to the server without a page refresh

What is AJAX??
AJAX stands for Asynchronous Javascript and XML. It is an Development technique for creating interactive web applications. It is not a new technology but more of a pattern.
Things which motivated to bring AJAX pattern in Web

  • Webpages always reload to update some datas and it also doesn’t get updated fully.
  • User has to wait for the entire page to load even if a single piece of data is needed
  • single request/response restrictions

Uses of AJAX paradigm

Real-Time Form Data Validation
Form data that require server-side validation can be validated in a form “before” the user submits it.
Auto completion
A specific portion of form data may be auto-completed as the user types.
Master Details Operations
Based on a client event, an HTML page can fetch more detailed information on data without refreshing the page.
Sophisticated UI Controls
Controls such as tree controls, menus, and progress bars may be provided without page refreshes.