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.
In reply to Re: data bulk query, sorting and paging
by moritz
in thread data bulk query, sorting and paging
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |