So Rick, because it's scoped to application, if a user calls something 
like application.inventory.addInventory() to add a new record, at the 
end of the addInventory() method, I would just need to what?

Do something like this?

<cfset application.inventory = createObject("component", 
cfcs.inventory").init(request.dsn)  />

Rick Root wrote:
> If your objects are holding data, for example, a list of inventory
> items.. you just have to make sure that whenever you ADD or UPDATE or
> DELETE inventory, then you also update the data that the object itself
> is holding
>
> Rick
>
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288965
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to