When you have an application that returns data, invariably you’ll accumulate enough to require paginating the results. Because pagination is really a form of navigation, I like to make sure it works without Javascript. But I also like to add AJAX functionality so that the entire page doesn’t reload when all you want is a new page of data. To accomplish both of those tasks, I wrote a PHP Page class. It handles the database queries, generating the page navigation and even creates the Javascript for you.
Related Submissions:
- Easy PHP Pagination As a developer you’ll soon find a need to paginate data when displaying contents from the database, and rather than use JavaScript which could require...
- Accomplishing Common Tasks Using MooTools, jQuery, and Dojo I feel great about my MooTools and jQuery skills but I’m a bit still raw when it comes to Dojo. What’s important that I keep...
- Advanced CSS Accordion Effect I’m going to admit up front: these modifications require JavaScript. So what’s the point of having a “CSS†accordion technique that uses JavaScript? Well, all...
- AJAX Post Pagination in MooTools Ever wanted to browse through the older post archives only to be staring at the screen for ages in frustration while the content slowly loads...
- jQuery clueTip Plugin Revisited Demo Quite some time back I wrote about using the jQuery clueTip plugin to display additional data to the users of my application. At that time...