4 ms·
Angular seems not to have much of actual models (not view models), it's all about the view components and syncing them with their view models. Backbone doesn't
by scotty79 13y ago
Angular seems not to have much of actual models (not view models), it's all about the view components and syncing them with their view models. Backbone doesn't have much support for the views, it's all about models and collections and syncing them to the server.
Yet people don't seem to be too eager to use both together. Why do you think that is?
- jaxytee 13y agoBecause their cores solve the same problems, and it would be overkill to pull in both projects for views or models. Also, I don't think backbone.js models solve any problems in an Angular application.
- scotty79 13y agoCould you point me to some tutorial how to implement client side business models in Angular autosynced to the server, backbone style? From what I've seen on Angular people are really hyped about extending html and two way binding but when it comes to communication with the server they just wrap arbitrary ajax call done via $http or $resource in Angular service or factory or provider and call it a day. After seeing what backbone does, this seems to me to be as reckless as manipulating the DOM using jQuery.
- jaxytee 13y agoBecause their cores solve the same problems, and it would be overkill to pull in both projects for views or models. Also, I don't think backbone.js models solve any problems in an Angular application.