[Arp] return result from command, or add to ModelLocator then fetch from there?
Aral Balkan
aral at ariaware.com
Sat Jan 7 01:22:47 PST 2006
Hi list,
Sorry for the extended silence -- I forgot to ask Thunderbird to "check
this folder for updates" after switching from client-side to server-side
filters and was wondering why the list was so dead.
This is definitely a better way: It allows the model to be updated from
the Commands which better encapsulates business logic.
The original method was advocating the storage of copies of the model on
the view and updating of the model from the view, etc. which are bad.
I am not entirely sure if this is sufficient (part of me says "yes" --
it is very simple and straightforward) or whether it should be taken
further to actually have a Model that broadcasts events when the model
is changed (ie., full-on MVC). I know Christophe's got work in this area
and I have talked with him about this and will do so again.
All the best,
Aral
Chris Velevitch wrote:
>On 1/6/06, Chris Velevitch <chris.velevitch at gmail.com> wrote:
>
>
>>I think having a ModelLocator is a great idea.
>>
>>
>
>I should also add that it's a great idea because it reduces the need
>(in commands) to use viewRef to get access to the model.
><snip>
>
More information about the Arp
mailing list