Backbone.Paginator – New Pagination Components For Backbone.js(addyosmani.com)
addyosmani.com
Backbone.Paginator – New Pagination Components For Backbone.js
http://addyosmani.com/blog/backbone-paginator-new-pagination-components-for-backbone-js/
6 comments
?skip=N in the API is inefficient — from yesterday's discussion on infinite scrolling: https://news.ycombinator.com/item?id=3764518 https://news.ycombinator.com/item?id=3765665
I wrote something similar to this, but I use pushState so that it can be bookmarked. It creates some ugly urls, but it works.
Have you considered using pushState to achieve the same purpose?
Have you considered using pushState to achieve the same purpose?
I wrote a simple Backbone module to add infinite scrolling to any view a few months back (https://github.com/joneath/infiniScroll.js).
It's good to see a classic paginator implementation though. I will take a look at the source later. Thanks for sharing.
It's good to see a classic paginator implementation though. I will take a look at the source later. Thanks for sharing.
Seems like this one does both.
very very useful. Was just about to write my own code for this, but now gonna look into using this. Thanks for considering all major variations of pagination.
http://addyosmani.github.com/backbone.paginator/examples/net...