From: Plane, Nathaniel [mailto:[EMAIL PROTECTED]] -- Eek, what about <cfoutput group="">? 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. --
So occasionally you have to account for a cfoutput with a group attribute. How often does that happen? Not very often for us, maybe once or twice in a whole app. But I don't know what you're working on, so I'll leave it at that. We wrap every .cfm page with an <cfsetting enablecfoutputonly="ys"> <!--- queries and CF processing ---> <cfoutput> </cfoutput> <cfsetting enablecfoutputonly="no"> Including the files that are cfincluded. We do the normal <cfinclude> inside our cfoutput tags and they have their own cfsettings and cfoutputs and it works just fine. So page includes are usable. We use this system on large scale apps and find it work quite well. I honestly don't see any consequences in this coding method. It's all preference regarding 'dirtier' looking code (so half you will think I'm wrong for the next statement, that doesn't matter), but having a single set of cfoutputs for the whole page vs putting a CF var in a page and having to wonder if it's inside a cfoutput to get processed sounds more efficient. Plus what about the processing time for opening and closing multiple cfoutput statements just to output the occasional variable? It's only a few ms, but it all adds up under load. Just my two cents, t ********************************************************************** Tyler M. Fitch Certified Advanced ColdFusion 5 Developer http://isitedesign.com ********************************************************************** ______________________________________________________________________ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

