CakePHP - search forms and paginating results the easy way, with a new component and helper to boot
I've made many search forms that query thousands of records and can return as many results, thus requiring pagination. For the first three search forms i've created, it ended up being a re-education every time with many conditionals and general monkeying-around with a side of tom-foolery: passing the search form variables to the pagination helper, checking to see if search parameters have passed, if not then set defaults, etc, etc...
So after the third search form I decided to spend a little extra time to make the process more streamlined, and hope you can find it useful as well.
