Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Paging Data Sets With PEAR Pager
Aug 06, 2007 @ 20:15:40

On the Zend Developer Zone today, there's a new tutorial covering the use of the PEAR Pager class to break sets into smaller sets for all sorts of data sets (not just database results).

PEAR's Pager class, [which] offers developers a framework for breaking large data sets into smaller chunks, or pages, for greater readability or easier navigation. Pagination is important, particularly when dealing with result sets containing hundreds or thousands of items, because it allows the user to exert some degree of control over which segment of the data set is visible at any given point, and thus avoid drowning in a never-ending sea of data.

Cal explores the functionality this powerful little class has under the hood including working with pagination of normal arrays, database results and XML information. Of course, code is provided through out and screenshots are posted where needed to show what the output should look like.

tagged: pear pagination pager class tutorial array xml database pear pagination pager class tutorial array xml database

Link:


Trending Topics: