First of all: I think this question applies to most if not all of today's JavaScript MVWTF frameworks that feature a persistence layer.
My current task is to rewrite the comment administration section of a website in Angular to speed up the workflow of those who have to approve or mark comments as spam. The website already has a fairly large number of comments and more are coming in each day.
The question is: how do I handle this dataset in Angular? All the examples I saw are fine and dandy but all of them work with small arrays of data.
We brainstormed a couple of ideas, the best one being: Download the latest X comments when starting the JS app and then when searching or refining the list after applying an Angular filter on the existing (client side) dataset pull the matching data from the server (or a subset of the matching data if we're paginating) and merge it with the data we already have on the client. This way the data on the client will get more and more extensive and subsequent client side searches will hopefully get more and more precise.
Hopes this makes sense.
Any other ideas?
Thanks.