WDDX ;-) Bryan Stevenson VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED]
--------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Scott Weikert" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 3:30 PM Subject: Using CF to populate JS variables efficiently > Hey gang. > > Working on a little side project, that is very JS-heavy - do some reads from > a DB, create and populate several Javascript arrays based on the DB queries > (using CFLOOP, generally), so that the page, once loaded, doesn't need to go > back to the server for more data. > > I'm trying to work up a better way of doing this. Right now, the page (and > it's not even nearly done, just the basics) is around 2100 lines long in the > end (page source), and a large chunk of that is array population lines (i.e. > "arrayname[3][7] = 1;"). > > I seem to recall seeing a chapter on one CF book some time back on CF and > JS - going back and forth between them - but for the life of me I can't find > such info in Forta's books (either the new editions or the previous > editions). > > Any thoughts/recommendations? > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

