I have been working on a fun project recently which is built on Zend Framework. While looking at options for paginating a large result set, I came across a Zend Framework module called Zend_Paginator ... and it does just what it says on the tin!
The idea of this module is to allow collections of data to be paginated. It takes the set, restricts the results, and can also generate the page numbers you need to move around between the resulting paginated data. Basically it saves me writing the same pagination code multiple times and then having to fix the bug where the last result on the previous page appears on the next ... all this has been thought of already.
Continue reading "Zend_Paginator: First Impressions"