till wrote:
> On Tue, Oct 28, 2008 at 3:57 PM, Michael Baierl <[EMAIL PROTECTED]> wrote:
>   
> No, it's easier and less expensive to pull it once and so to speak
> "cache" them in the source code/clientside and perform the
> auto-complete without a server request. Otherwise it will be slower
> and more expensive as you hit the database or your LDAP directory for
> every key-event.
>
>   
I agree that populating the contacts upfront can be faster and less
expensive for many or maybe most installations.  However, it isn't
really an option for very large LDAP directories.  Some directories
simply will not return a full listing of all users.

In our environment, we have modified the autocomplete to do an ajax
request because we wanted to provide our users with a list of their
personal contacts combined with contacts pulled from a very large ldap
system.  We have plenty of extra LDAP server muscle, so repeated queries
aren't a concern (and we're doing caching in php as a part of our patch).

Cheers,
Ziba
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to