Chris Hartjes: Custom CakePHP 1.2 Pagination Queries

      Comments Off on Chris Hartjes: Custom CakePHP 1.2 Pagination Queries

p. hartjes_chris_front Chris Hartjes has posted a new CakePHP tutorial on his blog titled “Custom CakePHP 1.2 Pagination Queries”:http://www.littlehart.net/atthekeyboard/2008/03/04/custom-cakephp-12-pagination-queries/. If you work with “CakePHP”:http://cakephp.org/, you are going to want to take a look at this.

bq. As amazing as the built-in CakePHP pagination helper is, sometimes you have to create your own custom queries for data you wish to paginate. For the simulation baseball league site I wanted to be create an admin area where I could paginate through the series instead of individual games.

p. Chris goes on to give the code necessary to demonstrate the technique he describes. As with all of Chris’ tutorials, this one is clear, easy to read and straight to the point.

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PCs.   For the past 10 years, Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is happily married to wife 1.33, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Nomad PHP