Logic CFC -> Display CFC (outputting HTML) In any environment other than HTML/Browser the CFC being used for display is useless...but the logic in the first CFC can still be used for HTML/Flash or Web Service at any time.
Stace -----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 9:45 PM To: CF-Talk Subject: RE: CFC output I'm not talking about returning HTML, I'm talking about returning results, which can then be displayed in HTML, Flash, whatever. You are saying that you would use a CFC to generate HTML. I am saying that I _normally_ would not since I would want the CFC to be able to work with as many different callers as possible. I think we are really just going around in circles now. I'm not saying you are wrong, I'm just clarifying why I would normally recommend against outputting in CFCs. -Raymond > I don't think you are getting it. If you build a CFC for the > purpose of displaying HTML then that is all it should do. > There is no trying to make it work with Flash now or later. > Frankly, it doesn't even make any sense why you would want to > return HTML to Flash for display purposes anyway as Flash > should be able to handle creating a view on its own, possibly > even calling the same business logic that the HTML CFC would. > > Matt Liotta ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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