I myself study ember.js.
and I want to know the exact role of Em.Controller.
when I make the base ember application, the only time I use Em.Controller,
App.ApplicationController = Em.Controller.extend();
but I donβt know why it should be Em.Controller instead of Em.ArrayController or Em.ObjectController.
I know that ArrayController or ObjectController are used to work with the model.
so I understand that I have to use ArrayController or ObjectController when I am working with Models.
but what about em.controller?
Does it exist only for ApplicationController?
and it seems that Em.ArrayController and Em.ObjectController are not inherited from Em.Controller
then what is the relationship between them?
I am embarrassed....
source share