EmberJS is not vanilla MVC (Documentation/Help)


#1

Hey guys, I read here that the learning curve is something you want to address. I’m still learning Ember and I just (i.e. minutes ago) put together this blog post, in hopes that it will help new guys like me understand EmberJS better. I’m posting it here because I would like feedback if I got something wrong.

Thanks, John

http://johnmorales.com/blog/2014/01/26/embjerjs-is-a-more-than-just-model-view-controller/


#2

MVP does not fit Ember right now very well because controllers are by default singletons. Important view hooks like “willInsert” will get fired on the view rather than the controller. If you want to prepare the view state, it needs to go into view code.

Component is the closest to your description.


#3

Interesting, I don’t know components yet. I guess I should read up on them. Thanks for your input