I am trying to learn Ember.js, and although I understand that everything is in motion, and at the moment it seems that this bit of code from the Sproutcore 2 manuals (which are related to Emme.js github readme) no longer works:
App.userController = SC.ObjectController.create({ content: SC.Object.create({ firstName: "Albert", lastName: "Hofmann", posts: 25, hobbies: "Riding bicycles" }) });
Looking at the source of ember.js, the only type of controller that seems to be supported is the arryay controller. Is there an established best practice for proxying between a single model object that is not part of an array / collection and view? Or do people refuse to proxy and just set the bindings directly between the model and the view objects? Thoughts?
source share