Zend DevZone have an interesting new tutorial on paging data using PEAR Pager package. In this tutorial, Vikram introduced the different paging features in the Pager package whatever the data is fixed arrays, retrieved from database, or XML files. The last sample shows how to search database with advanced paging options where you can switch pages and set Items per pages for results.

Over the next few pages, I’m going to give you a quick run-down on the PEAR Pager class, together with a few examples of how you can integrate it with various Web applications while still looking calm and collected.