Hi, been playing around with CFC's and fusebox4.1 for a bit, nothing too advanced. In the main part I use CFC's to do all of my database work, they contain all of my calls to the database using stored procedures. My question is what is the best amd most efficient way to execute them? At the moment I initialize all of my CFC's into the application scope and then in my fusebox model xml file use the following syntax;
<invoke object="application.MyObject" methodcall="MyMethod( Arg1, Arg2, etc)" returnvariable="MyReturnVar"> OR <invoke object="application.MyObject" methodcall="MyMethod( argumentcollection=MyArgs )" returnvariable="MyReturnVar"> Is this an efficient way of doing this? Is there a better way to do it? Have I completely misunderstood the use of CFC's? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217197 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

