Data Binding

Jerry J jhj at jhj.com
Thu Mar 31 00:00:34 EDT 2011


On Mar 30, 2011, at 8:49 PM, Todd Geist wrote:

> Thanks everyone for answering my earlier questions on adapting MVC to rev.
> I have moved on to one more.  Although this one isn't really MVC.
> 
> A couple of the frameworks I have used have a concept called "data binding".
> This usually means something along the lines of when one property changes
> another property is automatically updated.  The two properties are said to
> be "Bound".  I like this concept and it seems like something that could be
> useful to Live Code.
> 
> It seems that you could broadcast the change of a property of an object. And
> other objects could listen for that change, and update themselves
> accordingly.
> 
> Again, in effort to avoid re-inventing the wheel, I am curious if there any
> one has tried this sort of thing and if it proved useful.

Sounds like something extending the setprop and getprop handlers could do. (?)

--Jerry





More information about the use-livecode mailing list