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

Advantages of Active Client Pages - 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.

TABLE OF CONTENTS:
  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
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Any information stored at the server, and its analysis, can be presented quickly to the user using ACP, independent of whether the Internet connection is fast or slow. Only the first page may take some time to be downloaded through a slow Internet connection.

Web pages are becoming voluminous because authors are putting a lot of script into them. This leads to slow download time. With ACP, the download time will no longer be slow, because the page will be downloaded in bits; only the first bit may take a long time.

If you understand your scripting language very well, you will pay less for hosting since the analysis will now be done by your script at the client and not by some program at the server.

ACP frees the server from work and so increases the overall speed of the World Wide Web. At the limit, if every client uses ACP, a client will not have to wait too long for the server to serve other clients before it is served, since the processing will be done at the client and not at the server; in other words, the server spends less time serving each client. One of the aims of N-Tier systems is to free the server from work. ACP also serves that purpose.

Secret of Active Client Pages

The secret of Active Client Pages is that, after the first page has been downloaded by the browser, other pages or data are downloaded in advance in the background, without the user knowing, and stored in an HTML master page (or frameset). This master page or frameset is the first page downloaded. By the time the user has finished reading and dealing with the first page, the information for the next few pages has arrived at the browser. When the user needs the next page, the browser displays it from the store (master page).

The Ajax Approach

I will not present Chuck's approach as he did in his web pages. I present a modified form of it, which I call The Ajax Approach. I came up with this modification because I had to take into consideration the advantages mentioned above. Another discoverer of ACP is Vlad (see above). I have to mention that Vlad discovered his method before Ajax was invented. However, Vlad and Chuck's philosophies are the same.

My philosophy is also the same. I have my own approach, on which I will write a series later. I had my inspiration from the works of Vlad and Chuck. My approach combines Vlad's and Chuck's works with a lot of my additions. But now, let us continue with the Ajax Approach.



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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

AJAX & PROTOTYPE ARTICLES

- 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: