reactor-framework
very fast reactive MVVM framework
demo: http://spat-ne-hochu.github.io/reactor-framework/
cold start
1. You need template (html)
<!-- this node would be two-way databinding --> * + <!-- this button should increase the next number --> 1 <!-- this binding number --> - <!-- this button should decrease the previous number --> = <!-- this binding sum -->
2 You need model(controller)
rc;
3. You need binding scheme (~json)
in the future the binding will also be in the dom, hello angular!
var bindingOne = selector : '.cell > button:first-child' directive : 'click' path : 'inc' selector : '.cell > button:last-child' directive : 'click' path : 'dec' selector : '.cell > .monitor' directive : 'bind' path : 'number' selector : '.sum' directive : 'bind' path : 'sum' selector : '.text-field' directive : '<=>' path : 'base' ;
4. And run it!
rc;