![]() |
Easy Pagination In Perl
IntroductionPagination is a very basic requirement of a web application, in this article we'll see how to implement pagination easily using the Perl module Data::Pageset. Basically there are two types of pagination, Jumping and Sliding. In the jumping type the current page jumps from the starting position in a frame till the end and goes till the get before moving on to the next frame. Whereas, in the sliding type the current page remains in the center of the frame (of course except the current page is not in the starting or ennding half of the pageset), here is an illustration of the jumping and sliding pagination types which will help you understand the logic better. Jumping Code:
[1] 2 3 4 5 => # first frame: [1-5]Code:
[1] 2 3 4 5 => The CodeCode: Perl
Hope you liked the article and find it useful, you can check more about the module at http://search.cpan.org/~llap/Data-Pa...ata/Pageset.pm |
Re: Easy Pagination In Perl
Nominate this article for Article of the month - Jul 2009
|
Re: Easy Pagination In Perl
Vote for this article for Article of the month - July 2009
|
| All times are GMT +5.5. The time now is 18:26. |