I would clarify C a bit by stating that any CFC to be used as a web service or with Flash Remoting should be decoupled from the HTTP request. That means no using cfoutput as well as not depending on values from scopes such as request, url, form, cgi, and session. However, it is perfectly fine to pass the CFC a reference to the HTTP request.
Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -----Original Message----- > From: webguy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 10:01 AM > To: CF-Talk > Subject: RE: CFC output > > Lets all agree.. > > a) cfcs encapsulate any logic & data together. > This logic can be business logic or even a GUI widget in HTML , XML > , > etc.. > b) cfcs can be used on any tier of a n-tier application > c) if you are going to use the cfc with flash or as a web service, it > is > good practice not to output HTML directly. This makes for flexible > applications. > d) None of a,b,c are right all of the time. > > WG > > > At 09:17 AM 12/10/2002, you wrote: > > >How have you determined what CF developers general consider CFCs for? > > >-Matt > > > > Based on participation in this list since it was started. > > > > Sam > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm