Active Client Pages: Summary of the Document Phase of Chrys`s Approach
(Page 1 of 4 )
In this part of the series, I give you a summary of the Document Phase of my approach to Active Client Pages. In order to help you better understand this phase, I need to explain two other approaches to ACP. When I finish that, we will proceed to the next phase. It may seem a little complicated (this is, after all the eighth part of a 12-part series), but by the time we're done you'll understand a number of ways to make your pages load faster over a slow Internet connection, even when they're full of images.
As I mentioned, there are two other approaches to ACP, which are the Script Approach and the Ajax Approach. I have written articles about these approaches; you can investigate the links for more information.
The Document Phase of Chrys’s Approach incorporates the Script Approach and the Ajax Approach. I have not described these approaches in this series, so I have to give you their summaries before I give you the summary of the Document Phase of Chrys’s Approach.
At the end of this part of the series I will introduce the window phase of Chrys’s Approach to ACP.
Summary of the Script Approach
The Script Approach is based on Vlad Podvorny’s works. It uses a Frameset. This is the summary of the Script Approach, including my enhancements.
The master can be the frameset HTML document or it can be a normal HTML document without a frameset.
While the user is working, data of any type, including program script code and images, is downloaded from the server in advance, without the knowledge of the user.
This downloading is done by placing scripts at the bottom of each page displayed.
The downloaded data has to be stored in a store in the master page (parent in frameset).
The store is made up of JavaScript variables and/or JavaScript arrays and/or JavaScript object properties.
Pages are produced by script that is in the master page, or script in the head element of a page, or script downloaded.
Next: Summary of the Ajax Approach >>
More JavaScript Articles
More By Chrysanthus Forcha