sadly these particular CFC's are a mixture of data processing logic and display. almost entirely un-reusable (u kno wot I mean...).
on that point, what's wrong with the humble taglib custom tags instead? if you do it right CF starts looking like a flex app with MXML layout binding data to it with CF "scripting" to hook it all together... if it were Java/JSP, would you bother generating great sections of HTML within the java classes instead of leaving it to the JSP to take care of? but I digress. the lack of abstraction is just painful to (quickly) follow and maintain the wreched thing... sorry, having a bad day... On 10/26/06, Sammy Larbi <[EMAIL PROTECTED]> wrote:
Tom Chiverton wrote: > On Wednesday 25 October 2006 15:57, Barry Beattie wrote: > >> and what CFC's that have been added are full of display code (HTML/JS >> > > That's a perfectly reasonable use of an object - as a generator of a GUI > component. > > But, I was thinking he meant something like CFC's that displayed, controlled, and modeled. Or, ones that looked like your typical pre-CFC pages, but just where you could call a method instead of using an include. You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
