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
Post a Comment