in reply to data bulk query, sorting and paging
It all depends on how your data looks like, especially how big the datasets are. If they are rather small (like, a few hundred entries) it makes sense to put that functionality into your provider. If not...
Databases can sort and page, so for larger data sets it makes sense to move that functionality down to the individual provider classes, and provide a generic replacement for those providers that don't support it natively. You can do the sorting with built-in sort function, and the paging with Data::Pager.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: data bulk query, sorting and paging
by Anonymous Monk on Nov 30, 2009 at 18:01 UTC | |
by AnomalousMonk (Archbishop) on Nov 30, 2009 at 18:32 UTC | |
by planetscape (Chancellor) on Dec 01, 2009 at 05:49 UTC | |
by AnomalousMonk (Archbishop) on Dec 01, 2009 at 15:35 UTC |