Home arrow JavaScript arrow Page 2 - The Script Approach to Active Client Pages: Chrys`s Enhancement
JAVASCRIPT

The Script Approach to Active Client Pages: Chrys`s Enhancement


In this conclusion to a three-part series on active client pages, I give you my enhancements to the Script Approach. I am the one who came up with the Script Approach. I derived it from Vlad’s work. Before I start my enhancements, let me talk about the store and Vlad’s Fake Get Method. Vlad himself calls one of his methods the Fake Get Method.

Author Info:
By: Chrysanthus Forcha
Rating: 3 stars3 stars3 stars3 stars3 stars / 2
June 19, 2009
TABLE OF CONTENTS:
  1. · The Script Approach to Active Client Pages: Chrys`s Enhancement
  2. · Script Approach Without Frameset
  3. · The innerHTML Property
  4. · Summary of ACP

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
The Script Approach to Active Client Pages: Chrys`s Enhancement - Script Approach Without Frameset
(Page 2 of 4 )

Imagine that your session on the net is short. Consider a case where the user has to fill out a form and there is a lot of interaction with the form. You design your web page to have the form with some script in the HEAD element.

There is no frameset here. You have external script tags at the bottom of the page. As soon as the form is displayed, downloading the scripts in the tags will begin. These downloaded scripts have more information for the interaction. Before the user starts serious interaction with the form, the scripts would have been downloaded. So the script approach can also be used without a frameset.

Rendering web pages as they arrive

With the script approach to active client pages, when you are not using a frameset, the first web page should be rendered as it arrives at the browser. If you design your web page according to the normal CSS flow, it should be rendered by the browser as it arrives, everything being equal.

The main problem occurs with HTML tables. If you want a table to be rendered as it arrives, declare column properties (e.g. widths) at the start of a table definition. Avoid the particular use of "0*" to specify column width. If you do not specify the column widths, the table may not be rendered incrementally, as it arrives.

The secret lies in giving the table column widths, values at the beginning of the table definition. The widths can be in pixels, percentage or proportionally, e.g. width="3*".


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials