Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Why is Ember getting rid of controllers instead of getting rid of routes?

$
0
0

@gattra wrote:

It seems like with most MVC's, the router routes to a controller which grabs the model and passes it to a view, then returns the view to the browser.

But Ember is now shifting away from controllers and instead having us rely on routes for a lot of (if not all) the logic that the controller would typically handle.

Why not instead just get rid of routes and have controllers behave like a normal controller would? It always seemed odd to me that the route was responsible for grabbing the model instead of the controller anyway.

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles