Sending a message to multiple objects

Mark Wieder mwieder at ahsoftware.net
Wed Apr 21 22:08:43 CDT 2010


Sarah-

Wednesday, April 21, 2010, 4:18:27 PM, you wrote:

> There was an MVC demo stack doing the rounds a couple of years ago. I
> think it used something similar to this where controls registered
> their interest and then all registered controls got the specified
> messages. I forget who wrote the stack, but a search for "MVC.rev"
> might turn up something. Or maybe the original author could step in
> here before my vague memories cause too much confusion :-)

Um... yeah... that would be me. I believe the library and demo stack
might be on revOnline (can't check at the moment), but I'll repost it
if it's not. I originally thought that what I was presenting was an
MVC construct, but David Bovill convinced me otherwise. It *does*
implement the publish-and-subscribe pattern whereby you can register
controls' interest in receiving messages from any or from specific
other controls.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list