#Pagination
5 notas · última:
Efficient Pagination Using Deferred Joins
The article compares offset/limit and cursor pagination, then shows how deferred joins and covering indexes can make offset/limit fast enough for deep paging in MySQL and Laravel.
A super simple implementation of Infinite Scrolling
The post shows a jQuery scroll handler that clicks a “load more” button when the page reaches the bottom, then adjusts the check to fire 300 pixels before the end for better mobile behavior.
Creating Reusable Pagination Controls for Ember.js
The post shows how to build an Ember component for pagination using Foundation markup, computed properties, and actions, then extend it with previous/next arrows and truncated page lists.
Simple Pagination in Ember ArrayControllers
The post builds pagination for an Ember ArrayController by adding page and perPage properties, deriving paginatedContent and pages, then moving the logic into a reusable mixin and a pagination-links component.
Ember pagination full example
The post shows a full Ember.js RC1 pagination setup using a custom mixin, an ArrayController, a pagination view, routes for page selection, and Handlebars templates to render prev, next, and page links.
