I find that it is easier to just put a cfoutput at the top and bottom of my pages. Query output is just a <cfloop query="">. I'm not really sure if it makes that much of an impact on performance, but it definitely makes the code a lot cleaner to read and maintain(for me at least). Not hunting down those "why didn't this work, (view source), oh, forgot to cfoutput this section", rinse, repeat during development. One less thing to worry about.
I would think that it might take the first run/compiling a little slower, as the engine would have to parse through a lot of irrelevant code. But after that, I would think that only those variables that need resolving, ala #var#, would even get considered by cf. Anyone know for sure? Also, it helps cut down on white space if you've got your logic/data in separate files from your display, as fusebox does. Enablecfoutputonly, and only your dsp_files have those cfoutputs. But this goes more with personal coding style, and may be a hassle if, for instance, you have long pages of cf/display code with alternating sections of query then display, query then display, etc. Not the way I would code even if I wasn't using fusebox, but to each their own. Matthew P. Smith Web Developer, Object Oriented Naval Education & Training Professional Development & Technology Center (NETPDTC) (850)452-1001 ext. 1245 [EMAIL PROTECTED] >>-----Original Message----- >>From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] >>Sent: Monday, August 26, 2002 1:20 PM >>To: CF-Talk >>Subject: Many or Minimal CFOUTPUTS >> >>This is very minimal I am sure, but curious, is it better to have many >>cfoutputs on a page as opposed to 1-2 cfoutputs that encompass lots of >>code. >> >>I guess the question would be is it harder for CF to open and close >>cfoutputs or read through HTML code and other bits of information to find >>the outputs. >> >>I know that it probably makes little difference if much at all, but what >>do you find yourselves doing? >> >>Paul Giesenhagen >>QuillDesign >> >> ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com 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

