24 Jan
2007
24 Jan
'07
4:48 a.m.
On 23-Jan-07, at 5:21 PM, Earl Miles wrote:
Part 1: drupal_register_callback
My favourite part of this technique is that it should make Drupal much more "deterministic" (?)... You can check your registered callbacks and have a much clearer idea of what will happen on any given function call instead of having to search through every single module and inc file to find something that looks similar to an invoke_all hook call. And this maps well to the "event listener" type thing used on the client site. Careful with all the .something files or you'll turn Drupal into Helma ;) While Adrian works harder at turning it into Lisp or Smalltak . hehe. -Rowan