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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4