Interesting. First, 99.99% != 100%. I'm generally fond of fudging in this situation. We're not setting laws, we're stating personal guidelines. An intelligent developer will know when it's better to break the guidelines, and he/she will do it without second thoughts. Not a personal attack by any means, just an opinion. That being said, I want to know all about the exception cases, because those are always the interesting ones ; )
On that note, was the CFC was including display templates that you could modify to suit your needs? Or the HTML was actually embedded in the CFC methods? Why was the CFC used, rather than a procedural front-end using the CFC as a backend? Just for ease of distribution (one file over many)? Didn't that make for ugly as hell URLs, particularly the initial request? lots of questions, feel free to ignore me ; ) barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Raymond Camden > Sent: Tuesday, July 22, 2003 12:31 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] Extra white space > > > I agree with this, but I think it's one of those rules that are right > 99.99% of the time, not 100%. ;) I recently worked on a CFC where one of > the features was a set of default display templates. The idea being you > could deploy the CFC and begin using it's functionality immidiately w/o > needing to build out any HTML. The assumption is that you would, > eventually, do that, but for quick and dirty deployment it works out > nicely, especially with the pageContext bug being fixed in RedSky. > > ======================================================================== > === > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > (www.mindseye.com) > Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) > > Email : [EMAIL PROTECTED] > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Barney Boisvert > > Sent: Tuesday, July 22, 2003 1:25 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [CFCDev] Extra white space > > > > > > IMHO, you're better off only using CFCs for backend > > functionality, so they should never output anything. Make > > method calls to your CFCs from your CFM pages, and then do > > all the outputting there. Then you can just blindly add > > output=false to all your CFCOMPONENT and CFFUNCTION tags. > > Abstraction is king in keeping your head from exploding when > > you have to come back and make modifications 6 months down the road. > > > > barneyb > > > > --- > > Barney Boisvert, Senior Development Engineer > > AudienceCentral > > [EMAIL PROTECTED] > > voice : 360.756.8080 x12 > > fax : 360.647.5351 > > > > www.audiencecentral.com > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Behalf Of Raymond Camden > > > Sent: Tuesday, July 22, 2003 12:06 PM > > > To: [EMAIL PROTECTED] > > > Subject: RE: [CFCDev] Extra white space > > > > > > > > > Add output=false to your cfcomponent tag, and every method that > > > doesn't need to output directly. > > > > > > > > ====================================================================== > > > == > > > === > > > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > > > (www.mindseye.com) > > > Member of Team Macromedia > > (http://www.macromedia.com/go/teammacromedia) > > > > > > Email : [EMAIL PROTECTED] > > > Blog : www.camdenfamily.com/morpheus/blog > > > Yahoo IM : morpheus > > > > > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > > > Behalf Of Shannon Tucker > > > > Sent: Tuesday, July 22, 2003 1:02 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: [CFCDev] Extra white space > > > > > > > > > > > > I have started using cfcs to manage my data, but have > > been noticing > > > > a lot of extra white space in the pages that invoke the > > cfcs. Does > > > > anyone have any idea of how to get rid of the extra > > space? Any help > > > > is appreciated. > > > > > > > > Thx > > > > > > > > Shannon > > > > ---------------------------------------------------------- > > > > You are subscribed to cfcdev. To unsubscribe, send an email to > > > > [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the > > > > message of the email. > > > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported > > > > by Mindtool, Corporation (www.mindtool.com). > > > > > > > > > > ---------------------------------------------------------- > > > You are subscribed to cfcdev. To unsubscribe, send an email to > > > [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in > > the message > > > of the email. > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported > > > by Mindtool, Corporation (www.mindtool.com). > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003 > > > > ---------------------------------------------------------- > > You are subscribed to cfcdev. To unsubscribe, send an email > > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > > in the message of the email. > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported > > by Mindtool, Corporation (www.mindtool.com). > > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003 ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
