ice78991
Programmer
- Nov 20, 2006
- 216
As CF developers will know, Coldfusion tables generally contain a lot of looping code as you cycle through query objects.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 !
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 !