Rails and Merb Ruby Frameworks to Merge
A Little Downtime
There won’t be any new posts for the next week as I’m planning on taking some time off to enjoy the holidays. I will post some more before the end of the year, though, and I have already started some very rough drafts. The topics to be covered over the next month or so include better error reporting, choosing development tools (IDE’s and text editors), and some notes on the 2008 Adobe MAX conference and my first foray into Flex and Flex Builder. Thanks for your interest in what I have to say and happy holidays to those that celebrate holidays around this time of year.
Abbreviated Results Pagination in PHP
In my PHP and MySQL for Dynamic Web Sites: Visual QuickStart Guide book I demonstrate how to paginate query results over multiple pages like you’d see on a search results page. Here’s an image from that example:
The code in that example creates links for every page. If you have hundreds or more returned results, this isn’t practical. The solution is to rewrite the code that creates the links so that it only shows a few links at a time.