[Arp] Re: Arp Digest, Vol 3, Issue 8
Mike Britton
mbritton72 at gmail.com
Fri Jan 7 13:06:17 PST 2005
> how does the View observe the Model. Simply: It cannot unless
> you have some sort of socket connection which is clearly infeasible
In my MVC forays I'm using GDispatcher in my Controller to map Model
events to View methods, and vice-versa. Usually this is in the
context of a component, so I use the main UIObject extension as my
Application, then instantiate my Application Controller and pass it a
reference. My Application Controller instantiates my Model and View,
and links their functionality with GDispatcher.
I don't like it. The MM framework is slow, and I have problems with
live preview and LocalConnection. However, the classes are decoupled
enough to stay tight for the fifteen minutes it takes to make this
design fail :)
Mike
More information about the Arp
mailing list