On Tue, Sep 8, 2009 at 4:39 PM, Scott Stewart <sstwebwo...@bellsouth.net>wrote:
> > Phillip, > > One of the things that CFC's can do is encapsulate repetitive code, you can > write a function one time and call it multiple times. > > I personally like knowing what I actually send to a cfc. With an include and the variables you have floating around your application it may leads to more mistakes. Even a secondary cfoutput tag can cause issues in an include file. With a cfc you know what you are sending. You need to send, abc and expect xyz back regardless of where you call it from. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326123 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4