My personal thoughts is that it is better coding practice to only include
the CFOutputs where needed, not around the whole page.  However, I recently
wrote one page that was close to 3500+ lines of code on one page (thankfully
a lot of it was branching statements), where using multiple CFOutputs caused
more of an issue to debug, than using a single set...  So, I doubt there is
any hard and fast rule on which is better....

My thoughts...

Shawn Grover

(Bryan, your 2 cents is still worth 2 cents to me.... :D )


-----Original Message-----
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 12:54 PM
To: CF-Talk
Subject: Re: Many or Minimal CFOUTPUTS


Performance wise this has been bashed around SOOOOO much.  The last bashing
revealed little or no benefit to constantly opening and closing CFOUTPUT.
Personally I like to wrap the page in CFOUTPUT and be done with it.  If I
ever had a huge page with mostly static drivel then I might make an
exception (but so far it's mostly forms and data).

My 2 cents CDN or two bits of dryer lint US ;-)

Bryan Stevenson B.Comm.
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: "Douglas Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 11:56 AM
Subject: Re: Many or Minimal CFOUTPUTS


> Well you will get several opinions on what to do in this case. Since I
find
> myself breaking my apps into small pieces and including snippets, I find
the
> use of several better then a few. This is usually due to nesting problems
> with the output. another reason, is I do not like putting outputs around a
> bunch of HTML code as it makes things harder to understand. Performance
wise,
> I am not sure if there is good or bad reasons not to do it one way or the
> other.
>
>
>
>
> Douglas Brown
> Email: [EMAIL PROTECTED]
> ----- Original Message -----
> From: "Paul Giesenhagen" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, August 26, 2002 11:20 AM
> 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
> >
> >
> 

______________________________________________________________________
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

Reply via email to