3 ms·
Sounds a bit like the pure js library but with jquery. http://beebole.com/pure/ http://beebole.com/pure/
by buckbova 13y ago
Sounds a bit like the pure js library but with jquery.
http://beebole.com/pure/ http://beebole.com/pure/
- Tloewald 13y agoOurs is a fair bit more elegant and works both ways. It's also being used for multiple pretty complex projects so it's reasonably "battle-tested" (although nothing is in production yet, so not as battle-tested as it needs to be). We also do not bind by class because that's a really bad idea. (Actually the way we bind is a lot like Angular, but without being a templating language.) A key design requirement is that the model does not get polluted with special methods and properties to support the binding -- so (for example) if you have nice RESTful services, you can GET, bind, edit, POST/PUT and everything just works. For moderately complex cases we support "decorators" that live "off to the side" (i.e. do not pollute the model). Again, you can stick getters and setters in your model if you want to, you just don't need to.