[ANN] simple publisher/subscriber library for LiveCode

Andrew Kluthe andrew at ctech.me
Mon May 6 15:40:05 CDT 2013


Wow. I have been wanting to do things like this with rev for a while, as
most of my server side stuff is event driven and I have come to appreciate
the usefulness of this paradigm for certain things. I didn't even know
about mark's library.


On Mon, May 6, 2013 at 2:58 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Andre Garzia <andre at ...> writes:
>
> > Mark, I just checked revOnline (the web version) and could not find your
> > stack, maybe it was lost in the revonlinepocalypse of the 2000ish years)
>
> Yeah, OK. I'll post it later tonight. I just had a quick look at your
> library. The idea and implementation is pretty much the same. I went with
> the extra complexity of allowing controls to register interest in messages
> coming from a single object or from any object, something like (from
> memory)
>
> registerEvent pEvent, pTarget, pSource
>
> where pSource can be an id or the default value of "*". That way when the
> dispatcher receives an event it can selectively dispatch the event to only
> those listeners who have registered interest in the source object.
>
> --
>  Mark Wieder
>  mwieder at ahsoftware.net
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Regards,

Andrew Kluthe
andrew at ctech.me


More information about the use-livecode mailing list