MVC 101 - nrhubbar/AWS_BingBong GitHub Wiki

#MVC : Model-View-Controller


The Model: These are the items that we are working with. We want them to be completely dumb and aware of only their own properties and state.

The View: This is the part of the app that is in charge of rendering out the relevant information based on our model. Views should also be reasonably dumb and merely aware of how to display themselves and how to route interactions with themselves to the appropriate business logic.

The Controller: This is the beating heart of the app. The controller (or controllers in more complicated apps) stores a reference to the created models and is in charge of carrying out any business logic that is necessary.

Sources: Writing an ember app from scratch