deep-data-bind
json oriented ui data binder for deepjs.
Simple usage
;
Example 2
var schema = properties: hello: type:"string" description:"just a string." minLength:2 "default":"world" required:true title: type:"string" description:"just a title." required:false obj: properties: a: type:"number" required:true ; // creating stores and protocoles //deep.store.jqueryajax.JSON.createDefault(); deepprotocolsswig; deepstorejstorageCollection; var view = { return ; } { var self = this; var obj = null; ifid ; obj = "myobjects::"+id; else ; obj = deepValidator; return deep ; } { var self = this; return deepui ; } ; view; ; ;
Simples binds
var bindOptions = { list; } directPatch:true ; // bind tag selector to a field in mp3 datas. (binded to the property /meta/artist from object 527a03....) // add in-place-edition capabilities to tag deepui; // bind html input to a field in mp3 datas. (binded to the property /meta/year from object 527a03....) deepui;
See deep-spa-sandbox app controller for workable example.