Eek, what about <cfoutput group="">? You wouldn't be able to group result sets in this case. And what about page includes, those would be out of the question (including a page with another cfoutput without a group parameter would throw an error). This coding method has quite a few consequences associated with it, i would be very hesitant to implement this design philosophy on any large scale development projects.. IMO it would also produce "dirtier" looking code, when used properly <cfoutput>'s by no means make code "harder to read".. Just my opionion anyways.
Nat -----Original Message----- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:54 AM To: CF-Talk Subject: Re: CFLOOP and CFOUTPUT This one came through the list abouyt a month ago, so you may want to check the archives. The basic result was that CFLOOP is the way to go. Personally I wrap my entire page in CFOUTPUT tags and always use CFLOOP to output queries etc. IMHO it makes the code easier to read becaue I don't have to open and close CFOUTPUT tags everytime I want to output a query or variable. The potential downside to my method is that CF has to parse all the code inside my wrapping CFOUTPUTs. This issue was also discussed and I beleive the consensus was that the additional parsing time was minimal and acceptable (providing you don't have thousands of lines of code). HTH Bryan Stevenson VP & Director of E-Commerce Development Electric Edge Systems Group Inc. p. 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: "Park, Simon" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 7:13 AM Subject: CFLOOP and CFOUTPUT > I know that the prevailing wisdom is that CFOUTPUT with the Query attribute > is faster than CFLOOPing over a query. However, in Forta's CF 5 > Certification Study Guide, he states that CFLOOP performs better (p. 37 and > 374). Has CF 5 improved the performance of CFLOOP (Steve Drcuker referred to > it as the "CF tag of death" in CF 3) so that it performs better than > CFOUTPUT with a query attribute? > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Simon Park Computer Systems Management, Inc. > Ph: 703-823-4300 x119 205 South Whiting Street #201 > fax: 703-823-4301 Alexandria, VA 22304 > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists