[Catalyst] Where has Maypole's pager gone?

Andy Grundman andy at hybridized.org
Thu Apr 28 15:54:57 CEST 2005


Will Hawes wrote:
> I have several db tables with thousands of records. The pager functionality in
> Maypole (using Class::DBI::Pager) allows me to limit how many are displayed at
> once, but this  doesn't seem to be included with Catalyst. So by default I can
> only display a page containing several thousand records. Is there a Catalyst
> plugin that provides the functionality? If not, is it likely to be introduced
> any time soon? It seems inconceivable that this essential Maypole feature would
> have been ommitted from Catalyst.

You could look at my ServerDB example, I implemented a pager with column 
sorting using CDBI::Pager in about 10 lines of code.

http://www.hybridized.org/catalyst/Catalyst-ServerDB-1.0.tar.gz
(see lib/ServerDB/C/Server.pm, sub list)

-Andy



More information about the Catalyst mailing list