Ah right, ok. So a follow up question:

If I load CFC's into my application scope using create object, should they only 
contain methods and not properties, as any properties altered by one user would 
affect all other users accessing the cfc?

Additionally, once you've instantiated a copy into the application scope, is 
their any way to instantiate a new copy from that copy, as CreateObject 
function seems to want the name of the CFC as oppossed to the actual cfc and 
what is loaded into application scope is the entire cfc object (without any 
kind of "name" string)?

Sorry for all the n00b questions but I am still trying to wrap my head around 
OOP. I used to just access everything via application[property_name] now it 
seems I am creating new copies of it for every user request. Seems like a lot 
of extra memory being hogged, but "encapsulation is a good thing", right???


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:330934
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to