[development] the time of $op is over?

Adrian Rossouw adrian at bryght.com
Tue May 13 15:38:21 UTC 2008


On 13 May 2008, at 9:55 AM, Ronald Ashri wrote:

>
> How complicated would it be to move to a true event-based model,  
> where modules register as listeners to events and respond to them  
> rather than hook in through functions that have the right names?  I  
> was thinking that a structure similar to menus would be nice and  
> would replicate ideas from other parts of Drupal meaning that  
> newcomes have fewer concepts to learn. A module registers to an  
> event/hook the same way it relates a URL to a callback function and  
> the callback function is where the module performs actions related  
> to that event.


isn't that what the function registry does ?



More information about the development mailing list