Ah. Didn't know that things changed since MX. Very cool (and much less
painful, heh). Thanks for the link also - very useful.

-Rich

-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 26, 2003 4:31 PM
To: CF-Talk
Subject: Re: The Verbosity of CFOUTPUT

On Thursday, Jun 26, 2003, at 12:02 US/Pacific, Rich Z wrote:
> I am a big fan and advocate of CFML, but I have to confess, I've grown
> so tired of wrapping cfoutput tags around values like
> <CFOUTPUT>#this#</CFOUTPUT>. Now I know I could put Cfoutputs at the 
> top
> and bottom of my page (or block) and save myself some hassle, but I've
> read in numerous places that this is bad practice and resutls in a
> performance hit.

That may be true of pre-CFMX releases but I don't think it's true of 
CFMX. What I tend to do is:

        <cfsilent> - or similar to suppress output
        ...
        ... any in-page logic ...
        ...
        </cfsilent>
        <cfoutput>
        ...
        ... HTML with very minimal CFML inline
        ...
        </cfoutput>

See the adapted-from-Macromedia Coding Guidelines:

http://www.corfield.org/coldfusion/coding_standards.html#Anchor32

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to