I agree with u Matt but I think he's trying to say that any logic used to derive those html results are set in stone if the function is used to output html...Unless the function is solely used to format data which was generated from other function call(s).
Stace -----Original Message----- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 1:45 PM To: CF-Talk Subject: RE: CFC output If the HTML is meant to display in a browser then sending it to a Flash front-end would be quite silly since Flash supports rendering very little HTML. It would make more sense to create specific CFCs or specific methods for each type of display you are interested in. Then you don't have to worry about adding additional display types in future causing problems for existing display types. Attempting to create generic objects that can handle current requirements as well as unanticipated future requirements is one of the easiest ways to destroy a software project. Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -----Original Message----- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 1:19 PM > To: CF-Talk > Subject: RE: CFC output > > I never said it was a requirement - but rather something you should > remember. In other words, not outputting and using cfreturn will work in > more ways then direct outputting, I'd always rather use that just in > case I do add a Flash layer to my site. > > As it stands, we should probably just agree to disagree. ;) > > ======================================================================= > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > > Email : [EMAIL PROTECTED] > WWW : www.camdenfamily.com/morpheus > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: Matt Liotta [mailto:[EMAIL PROTECTED]] > > Sent: Monday, December 09, 2002 11:49 AM > > To: CF-Talk > > Subject: RE: CFC output > > > > > > Yes, but if your CFC is supposed to output HTML why would you > > want to call it from Flash? There are many different valid > > uses of CFCs and calling their functionality from Flash is > > only one of them and certainly isn't a requirement. > > > > Matt Liotta > > President & CEO > > Montara Software, Inc. > > http://www.montarasoftware.com/ > > 888-408-0900 x901 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

