News Feed
Sections




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

Ibuildings Blog:
Zend_Paginator First Impressions
December 02, 2008 @ 07:53:52

Lorna Mitchell has posted an article to the Ibuildings blog looking at the Zend_Paginator component of the Zend Frameworks, some of her first impressions.

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.

She shows how it works with a simple example - paginating results from a database table, setting the count per page and the current page number. This object is pushed out to the view and rendered (in her case) via a Smarty template.

0 comments voice your opinion now!
zendpaginator component zendframework impression example


blog comments powered by Disqus

Similar Posts

KillerPHP.com: Zend Framework Components - Part 1

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 6

PseudoCoder.com: How To Really Use Xdebug To Speed Up Your App

Rob Allen's Blog: Simple Zend_Layout Example

Matthew Weir O'Phinney's Blog: Using Zend_View Placeholders to Your Advantage


Community Events

Don't see your event here?
Let us know!


introduction language extension laravel5 install library series php7 example interview unittest release community laravel voicesoftheelephpant framework api opinion xdebug podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework