Active Client Pages: the Script Approach - Secret of Active Client Pages
(Page 3 of 4 )
The secret of Active Client Pages lies in the fact 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 or otherwise dealing with the first page, the information for the next few pages will have arrived at the browser. When the user needs the next page, the browser displays it from the store (master page).
The Script Approach
I will not present Vlad’s approach as he did in his web site. I present a modified form of it, which I call The Script Approach.
I came up with this modification because I had to take into consideration the advantages mentioned 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, of which I will write a short series later.
I had my inspiration from the works of Vlad and Chuck. My approach combines Vlad and Chuck's works with a lot of my additions.
You will learn more about Chuck’s Approach and mine later. Well, when it comes to Chuck's approach, I will also modify it before I give you.
In fact, I call the modified version the Ajax Approach instead of the Modified Chuck’s Approach. I modified it to suit the above advantages. You can find the first part of my series on the Ajax Approach to Active Client Pages -- indeed, all four parts of the series -- on Dev Shed under the Ajax category.
Let us continue with the Script Approach.
Next: A Simple Example >>
More JavaScript Articles
More By Chrysanthus Forcha