Home arrow AJAX & Prototype arrow Page 4 - An Ajax Approach to Active Client Pages

Ajax Features to Use - AJAX

If a user were using a slow Internet connection, he would have found that it takes time for him to have his web page displayed (downloaded) at his client computer. Nowadays, only the first page of his web site will take a long time to be downloaded; the rest of the pages will come very fast. Keep reading to learn how we can accomplish this trick. It's all thanks to Active Client Pages and the magic of AJAX.

  1. An Ajax Approach to Active Client Pages
  2. Active Server Pages and Active Client Pages
  3. Advantages of Active Client Pages
  4. Ajax Features to Use
By: Chrysanthus Forcha
Rating: starstarstarstarstar / 10
October 07, 2008

print this article



Very quickly, then, 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).

  • AJAX is not a new programming language, but a new way to use existing standards.

  • With AJAX you can create better, faster, and more user-friendly web applications.

  • AJAX is based on JavaScript and HTTP requests.

In short, AJAX is not a new programming language, but a technique for creating better, faster, and more interactive web applications.

With AJAX, your JavaScript can communicate directly with the server, using the JavaScript XMLHttpRequest object. With this object, your JavaScript can trade data with a web server, without reloading the page.

AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages.

The AJAX technique makes Internet applications smaller, faster and more user-friendly. AJAX is a browser technology independent of web server software. AJAX is based on the following web standards:

  • JavaScript

  • XML

  • HTML

  • CSS

The web standards used in AJAX are well defined, and supported by all major browsers. AJAX applications are browser- and platform-independent.

Web applications have many benefits over desktop applications; they can reach a larger audience, they are easier to install and support, and easier to develop. However, Internet applications are not always as "rich" and user-friendly as traditional desktop applications. With AJAX, Internet applications can be made richer and more user-friendly.

AJAX 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 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, and 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.

I have given you a lot for this part of the series. Let us take a break and continue in the next part of the series.

>>> More AJAX & Prototype Articles          >>> More By Chrysanthus Forcha

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Best AJAX Tutorials for Forms
- The Best AJAX Tutorials
- 8 Great Ajax Tutorials
- Using Ajax and jQuery
- Using Ajax and jQuery with HTML Forms
- Ajax.org Offers Cloud9 IDE for JavaScript
- Java Technologies Provider ICEsoft Releases ...
- Using Recaptcha in AJAX Prototype Framework ...
- Google's Closure Compiler Service API: Addit...
- Installing Google Web Toolkit: Introducing t...
- Google's Closure Compiler Service API: Displ...
- Google's Closure Compiler Service API: Deliv...
- Google's Closure Compiler Service API: the A...
- Google's Closure Compiler Service API: the S...
- Google's Closure Compiler Service API: Optim...

Developer Shed Affiliates


Dev Shed Tutorial Topics: