liraz / gwt-backbone

A Backbone.js clone for GWT
Apache License 2.0
4 stars 1 forks source link

Model & view validation mechanism #9

Open liraz opened 9 years ago

liraz commented 9 years ago

This not part of the core module. Module gbackbone-validation

Should be similar to the backbone validation library: https://github.com/thedersen/backbone.validation

Consider the following as under the hood: http://commons.apache.org/proper/commons-validator/

Also something i was thinking about, is to give View an option to work with a ViewValidator that will be binded to the Model. And another utility class for ModelValidator - still needs more thinking there.

liraz commented 8 years ago

This is done, tests are still missing - only very basic tests