Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relieving Coldfusion with Javascript

Status
Not open for further replies.

ice78991

Programmer
Nov 20, 2006
216
Coldfusion tables generally contain a lot of looping code as you cycle through query object.I am considering using <cfoutput query =.... loops to fill javascript arrays and then recreate the loops to output the tables with javascript using document.write(..). This way I hope to shift some of the burden of displaying these tables from the server to the client and I will also reduce the file size

Has anybody attempted this and is there much performance gain to speak of? I assume that coldfusion will have to output and do less with this method. However document.write(...) can make code less neat and harder to maintain? All comments appreciated !
 
what are you going to do for users (including the search engine bots) who have javascript turned off?

r937.com | rudy.ca
 
I don't get it. What you are proposing sounds so backwards. CF can handle it, or else there is a fundamental problem in the code or technique! What exactly are you trying to solve, specifically?


Kevin

Phase 1: Read the CFML Reference
Phase 2: ???
Phase 3: Profit!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top