News Feed
Sections




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

Zend Developer Zone:
Paging and Sorting Data with Zend Framework, Doctrine and PEAR (part 2)
January 04, 2010 @ 11:52:33

The Zend Developer Zone has posted the second part of their look at pagination with the combination of the Zend Framework, Doctrine and PEAR and how the Zend_Paginator component compares to the PEAR and Doctrine alternatives.

In the previous segment of this article, I introduced you to the Zend_Paginator class, which provides a flexible API for paginating any data collection, whether it is expressed as an array or a database result set. [...] This article will explore two such alternatives, the PEAR Pager class and the Doctrine Pager class, and give you a crash course in how you can use them to quickly add paging and sorting features to your PHP application.

The article gives examples for both of the other methods - a simple pagination of database information with the PEAR pager component (and other packages that can make the results more effective) and the creation of a Doctrine instance where the results are handled via a series of built-in method calls.

1 comment voice your opinion now!
tutorial zendframework pear doctrine pagination sort


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Generate Flash movies on the fly with PHP

PHP-HTML.net: Creating a Simple PHP Cache Script

Gonzalo Ayuso: Working with jQuery and Silex as RestFull Resource provider

Sebastian Bergmann's Blog: Testing Your Privates

Fabien Potencier's Blog: The state of YAML in PHP


Community Events





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


release development code symfony interview list tips framework series developer podcast introduction laravel bugfix api community language deployment conference zendserver

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