3 ms·
> The first place I see MVC JS frameworks fall apart is when they have both Controllers and Routers. You have to remember that MVC is a very, very loosely defi
by steveklabnik 12y ago
> The first place I see MVC JS frameworks fall apart is when they have both Controllers and Routers.
You have to remember that MVC is a very, very loosely defined term. The Ember MVC is very, very different than the Rails MVC. Ember's is much closer to Cocoa or Smalltalk in this regard.
To see how these bits fit together in Ember, I highly recommend seeing Tom's talk on URLs and their importance: http://vimeo.com/77760308 http://vimeo.com/77760308 (you can skip the first 12:35 or so, and around 30:38 is where it really gets into it.)
- archagon 12y agoExactly. Ember is directly inspired by Cocoa, and Cocoa has been using stateful MVC with incredible success for the past decade.
- steveklabnik 12y agoOh, ThoughtBot wrote a WONDERFUL post about this today: http://robots.thoughtbot.com/shared-terminology-yet-different-concepts-between-emberjs-and-rails http://robots.thoughtbot.com/shared-terminology-yet-differen...