[UI] Well, shall we do something then?

David T. Lewis lewis at mail.msen.com
Wed Sep 19 10:46:00 UTC 2007


On Wed, Sep 19, 2007 at 12:38:44AM +0300, Igor Stasenko wrote:
> On 18/09/2007, Gary Chambers <gazzaguru2 at btinternet.com> wrote:
> > Well, there is the Model but there has to be a linkage for when the model
> > changes. That's the basics. We need to decide on the way(s) we wish that to
> > happen. I find changed/update rather inefficient. Much prefer when:send:to:.
> >
> > But that's just the start. Pretty fundamental though.
> >
> Yes! And i think this is the point where we should start from.
> How to create flexible event system , how exchange data between view
> and model. Based on that we then can build up a model which will use
> it (MVP/Morphic whatever)
 
A note of caution: The #when:send:to: mechanism can have serious performance
issues due to its use of weak dictionaries. Performance of the entire image
is seriously impacted by weak array finalization as the number of these
dictionaries increases. There is no easy fix for this, so make sure you
know what you are getting into before you start with an approach based
on this mechanism.

Dave



More information about the UI mailing list