The pagination tag has no wiki summary.
2
votes
1answer
198 views
How to make this PHP code more object oriented and less scripted
I am utilizing CodeIgniter's Pagination Class to implement pagination in the project.
In this project, there are 3 modules: Event,Business & Parts.
Each Module has same "view" for pagination. I ...
4
votes
0answers
126 views
Streaming pages of a different size than a cache's pages
I need to write a service to return objects in pages of size 20. The caching of these objects is done in pages of size 60.
To abstract the logic of streaming differently-sized pages, I wrote this ...
4
votes
3answers
361 views
Pagination Function - Can this be shortened or approached differently?
I recently had an interview for a programming job and after the interview I was then asked to create a function with the following brief:
The Task:
Relating to pagination links: given a page ...
0
votes
1answer
633 views
PHP/MySQL Pagination Class - How can it be improved?
I've re-written my old pagination class into something a little cleaner, and also added PDO support (The prev version was mysqli only). I'd like to clean it up even more if it's possible, does anyone ...
4
votes
1answer
4k views
Is there a better way to paginate large SQL-Results?
It feels like pagination is one of the most discussed questions on the web, which always ends up with some quick&dirty hacks on how to paginate. I want to paginate a large result set from an SQL ...
5
votes
2answers
268 views
Is there a better way to write this pagination plugin?
This plugin is written in Jquery and is made to support the codeigniter framework.
It is an ajax powered table pagination plugin designed to provide only that.
You should be able to use almost any ...
