News Feed
Sections




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

Lee Davis' Blog:
Zend Paginator Example
April 19, 2012 @ 10:31:29

In a recent post to his blog Lee Davis gives an example of using the Zend Framework's pagination functionality, complete with some CSS to style it a bit better than the defaults.

One of the reasons why zend framework has been so popular is due to all the hard work put in to make sure components are extremely configurable. Sure there are default behaviours, but nothing is assumed and anything that needs to be overwritten or reconfigured can be. A strong emphasis on configuration over convention means you'll never be lumbered with code that just can't be changed. Zend Paginator is one of the smaller components of Zend Framework that allows you to get a simple paginator up and running on your listings or search pages in a matter of minutes.

Included in the post is a cut-and-pasteable view that creates the Previous/Next links as well as including the first/last page numbers and a few around the current page.

0 comments voice your opinion now!
zendframework zendpaginator tutorial view css


blog comments powered by Disqus

Similar Posts

GoodPHPTutorials.com: SQL Injections in PHP with MySQL

Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 2

Elizabeth Smith's Blog: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express

Mfana Ronald Conco's Blog: RabbitMQ and PHP Part 2 - Durable Queues and Persistent Messages

Rob Allen's Blog: ID!=id (Zend Framework Tutorial Updates)


Community Events





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


update voicesoftheelephpant package community framework language series library release composer security interview opinion mvc introduction symfony tool laravel version podcast

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