Thanks for the great link. I have a specific question that isn’t covered.
I’ve got a route that displays a list of things. Inside the route’s setupController, I’m setting my controller’s content to a particular instance of Ember.ArrayProxy that I wrote (I’m using ArrayProxy instead of Object because it needs addArrayObserver). This works great! When the content of the ArrayProxy changes, it’s reflected in the view via my actual view controller. This ArrayProxy seems to be a good place to put my data retrieval code, and expose pagination functions like loadNext.
Here’s where I run into problems. This ArrayProxy also has some custom state information (e.g. isLoading). I want to be able to bind in the template to “isLoading”. I don’t want to have to bind to “content.isLoading”.
What is it that Ember Data returns from App.Post.find? When a controller’s content is set to App.Post.find(), the view template can bind to both content and isLoading. How can I accomplish the same thing without using Ember Data?
Thanks for the great discussions on this forum and for your expertise here.