[dev] Pagination in turba

Chuck Hagenbuch chuck at horde.org
Tue Jan 6 12:06:50 PST 2004


Quoting John Morrissey <jwm at horde.net>:

> I'd like to implement pagination in turba. AFAICT, the major problem will be
> that not all the turba backends support pagination. SQL shouldn't be much
> problem, but paged results were only recently implemented in OpenLDAP
> (2.2.x). Perhaps a flag could be set in the driver to specify whether it
> supports paged results. Thoughts/direction?

That should be fine; you could also fake pagination in PHP, and let backends
that don't support it natively just inherit that (and might not even be so bad,
if you cached the first set of search results).

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe


More information about the dev mailing list