The main issue, IMO, is how many colors, or in-document anchors, are in
the code?

Do you want to have to use ##ff0000 or #ff0000?  If you wrap all with
CFOUTPUT, you will need to double-up on the #s.

I agree that it's a matter of taste. 

-----Original Message-----
From: Mike Nimer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 10, 2005 11:06 AM
To: CF-Talk
Subject: RE: Few cfoutput Vs Many cfoutput

I hate it when I see this, makes it hard to read and hard to maintain. 

Technically cfoutput is a tag, and having CF go in/out of a ton of tags
is slower then going in/out of only a few. Although, granted we are
talking hundreds of a ms, so we'll never notice it. In older versions cf
had to parse everything inside the cfoutput tags, at runtime, now the
compiler takes care of that.

I would say it's really a toss up, performance wise. But it's a lot
easier to read and maintain if there are fewer cfoutput tags around
everything. At least I think so.

--nimer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194096
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to