> I'm not talking about returning HTML, I'm talking about returning
> results, which can then be displayed in HTML, Flash, whatever.
>
Well then you are off track on this thread as it is about outputting
HTML directly from a CFC.

> 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 you are confusing the issue here. If you want a CFC to do only
business logic that is fine. However, that doesn't stop you from having
AN ADDITIONAL CFC to display HTML based it. You seem to want...

display  <--  logic
CFM/SWF       CFC

And the above is a fine way to do it. However, there is nothing wrong
with using a CFC for display as well like the following.

diplay  <--  logic
CFC/SWF      CFC

> 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.
>
I certainly understand your position, but I don't think you have shown
any reason for or against using a CFC for display purposes.

-Matt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to