javascript - How do I sort, filter and sync large Backbone Collections effectively? -


i've been searching solution problem quite while now, forgive me if oversaw something.

i working backbone collection that's large enough take seconds arrive backend. going grow steadily, i'd load in chunks , paginate rendered results. there feature filter models.

my apporach getting less @ time backend load models shown (filtered) @ moment. e.g. if filtering month, models fetching /collection?year=2013&month=08.

but means have add backend parameters filter options. need way determine if have loaded models specific filter criteria prevent loading same stuff twice.

do have idea how done better?

i use backbone-pageable. need optimizations on backend reduce load time.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

visual studio - TFS will not accept changes I've made to a Java project -