Re:AngularJS versus Ember
by erikpukinskis on Sunday June 16, 2013 @07:29PM
(#5890525)
I don't think that's the major distinction. Both store models in javascript. Some of the big things being debated are the use of getters/setters and the data lifecycle that happens when you change routes.
1) The DOM is the model. JS reads elements and data attributes and builds a model from them. Then updates the model when the DOM changes. (Angular)
2) The model is loaded from JSON. Then the App builds the DOM based on the model. (Ember)
So is the question: Does it start with the DOM, or start with javascript objects?
Am I understanding this debate correctly?