I've looked at AngularJS and Backbone.JS both look like great frameworks, however my existing code base does not use the MVC pattern. Both of those frameworks force you to either start from scratch or refactor your entire code base to follow the MVC pattern.
Almost all of my data is custom objects with many
myobject.prototype.myfunction = ... then serialized to/from JSON and stored on the server and jquery templates to render.
Right now i use jquery templates and they work great. In all fairness I have no problem with using them except I really don't like the mixing of business logic and DOM elements. If jQuery templates simply had two way data binding I would be in heaven, but at this point in time they don't. I know jsRender and jsViews look promising but their future is not set in stone yet and not ready for production. I need something I can build production code on today and support and grow with and not have to rewrite/refactor every two years.
- jquery compatible
- be end to end testable
- data binding
- doesn't require major refactoring
P.S. If my opinion of Angular or Backbone is ill informed, then please point me in the right direction.