Re: [flexcoders] Cairngorm Model Locator

2008-04-30 Thread Tom Chiverton
On Tuesday 29 Apr 2008, gerhard.schlager wrote: 1) How can I make sure that unused data gets removed from the Model Locator? Why do you need to do so ? -- Tom Chiverton Helping to vitalistically negotiate B2C content on: http://thefalken.livejournal.com

RE: [flexcoders] Cairngorm Model Locator

2008-04-29 Thread Battershall, Jeff
Gerhard, One approach I took is to have localized models that apply to specific modules in the application, as opposed to having a proliferation of variables that apply across multiple aspects of the application, which could get ugly. They still could live in the singleton Model Locator, but

Re: [flexcoders] Cairngorm Model Locator

2008-04-29 Thread Ben Clinkinbeard
You definitely don't want your model keeping track of views using its data. My 30 second recommendation would be to look into the UM Cairngorm extensions as they can help you reduce the amount of clutter that needs to be stored on the/a model. Specifically view callbacks is the feature that helps