Week 4
Project updates
(Review: IMD 315)
Readings
What is Pagination?
What if you have a table with sixty, five hundred, or a thousand rows, and you want to allow the user to browse through the entire table. Listing all the records in your table all at once will probably be too much information. Instead you should break the table up into smaller "chunks" of information, allowing the user to navigate through the "chucks". Pagination accomplishes this; it allows you to break up large result sets from a database query, and present it to the user in a more manageable way.
Perfect PHP Pagination "This tutorial is an attempt to further abstract a class for managing result pagination, thereby removing its dependencies on database connections and SQL queries. The approach I'll discuss provides a measure of flexibility, allowing the developer to create his or her very own page layouts, and simply register them with the class through the use of an object oriented design pattern known as the Strategy Design Pattern."
http://www.sitepoint.com/examples/pagination/paginated-demo.zip