On 12/12/06, Nando <[EMAIL PROTECTED]> wrote: > In the first app i built using CFC's, after about a year of iterations and > improvements, i had well over 1800 CreateObject() calls in the thing.
By the power of Greyskull! Are you trying to take over the world with your 1800 objects? ;-) We use a lot of object calls thru out our sites. The way we have managed them is with a masterController. It is mapped to all of the sites and handles all of the work. Sort of MVC but not really. We do use a lot of singletons. I guess that is why I'm having a hard time seeing the benefit of a factory. We can instantiate all the objects we need when the app gets initialized. The app only gets reinitialized when it is necessary. So maybe we don't need to worry about a factory at this point but I still want to learn more about how they can help. I'm going to do some testing to see if there is any cost to using one. When I get the results I'll pass them on to the group. Phil ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263726 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

