Before and after Livecode

Richmond richmondmathewson at gmail.com
Sat Jul 18 03:32:19 EDT 2015


On 18/07/15 09:47, David Bovill wrote:
> Has anyone been using the "before" and "after" handlers in Livecode? If so
> what for?
>
> I'm very impressed with them. Together with chain-able behaviors I this we
> have some great opportunities for code collaboration without the usual name
> space collisions you get with global libraries.

Well, Yes, but probably not in the way you mean:

put "a" after fld "XYZ"

put "a" before fld "XYZ"

fairly babyish stuff.

Richmond.

>
> If anyone has any pointers to documentation / architectures that can help
> structure these features - that would be great. I've been using MVC type
> architectures for a while - dispatching messages from one layer to another
> - but it seems that I can do much of the same by routing behaviors, and
> using the "before" and "after" features.
>
> I'm not quite sure what to call these message path patterns - are clear
> there equivalents in other coding paradigms?
> _______________________________________________
> 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





More information about the use-livecode mailing list