[development] Eliminate hooks entirely in Drupal 6

Dries Buytaert dries.buytaert at gmail.com
Wed Jan 24 07:01:57 UTC 2007


Hi Earl,

On 23 Jan 2007, at 23:21, Earl Miles wrote:
> After some discussion this morning, I am putting up a proposal to  
> eliminate hooks entirely (though not the concept of hooks) and  
> replace them with officially registered callbacks. I have  
> identified several areas where this will improve Drupal (primarily  
> in terms of probable performance gains).

I think these ideas have merit.  However, we'll want to benchmark  
them -- with and without APC.  I think this is a case where we have  
to let the performance numbers speak.

(When we started moving the theme_ functions into template files, we  
developed similar concepts.)

--
Dries Buytaert  ::  http://www.buytaert.net/



More information about the development mailing list