[drupal-devel] [task] Load as little as possible for autocomplete

chx drupal-devel at drupal.org
Thu Aug 18 17:27:08 UTC 2005


Issue status update for 
http://drupal.org/node/29136
Post a follow up: 
http://drupal.org/project/comments/add/29136

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     tasks
 Priority:     normal
 Assigned to:  chx
 Reported by:  chx
 Updated by:   chx
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/autocomplete.php (971 bytes)

Here is the autocomplete.php which makes this work.




chx



Previous comments:
------------------------------------------------------------------------

Thu, 18 Aug 2005 17:23:02 +0000 : chx

Attachment: http://drupal.org/files/issues/autocomplete_12.patch (11.08 KB)

This is a patch which changes significantly the work of autocomplete.
Instead of loading the full Drupal and using the menu system to find
out the correct handler, we only bootstrap to the PAGE_CACHE phase, and
load the necessary module only. Autocomplete functions need to check for
permissions themselves!







More information about the drupal-devel mailing list