Re:Auto-Refreshing lists is a basic expectation in 2011
by prateekdayal on Wednesday September 14, 2011 @03:47AM
(#2995284)
That's a great approach. I think one issue that can crop up if you do a fetch and reload the entire listing, some state like checked rows in the table etc can be lost.
So you have to add some more logic to preserve it. I think that's why it's a good idea to start thinking about this right at the start of your app/page.
Lately though, I've started to build apps using Backbone (I guess you can use Knockout or Batman too) and Django (or Rails) just to build the API, and it's very simple to do this.
All you have to do is:
At least in Backbone http://documentcloud.github.com/backbone/#Model-fetch