Hacker News new | ask | show | jobs
by stu_k 4891 days ago
Anyone who's interested in this should also take a look at Functional Reactive Bindings: http://documentup.com/montagejs/frb/

Boasts of realtime, 2-way bindings between any JS object.

1 comments

That's interesting! Do you have an idea how they implemented bindings between arbitrary JS objects? Polling?
It uses ES5 getters and setters to replace the property and react to changes. This is what makes it realtime, after the set all bound properties will have their new values.