[Arp] setting data on a model from a view
Folkert Hielema
info at swapdepths.nl
Fri Jan 13 05:53:58 PST 2006
Sounds cool (and the same) to me ;)
Chris Velevitch wrote:
> On 1/13/06, Folkert Hielema <info at swapdepths.nl> wrote:
>> isn't it so that the model should notify the view when it has changed,
>> and then the view then easy says 'he model give me the updated data'
>> direct manupulation from view->model is not the way to go at least i
>> though it was not ;)
>> haven't looked into the modelLocator though
>
> This would be done at a generic level, in that the model would have a
> mechanism [something like model.register(this)] to accept requests for
> notification. The view would register itself with the model so the
> model has a set of references to views that are interested in being
> notified of any changes to the that model.
>
>
> Chris
> --
> Chris Velevitch
> Manager - Sydney Flash Platform Developers Group
> www.flashdev.org.au
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com
> http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
More information about the Arp
mailing list