[dev] Splitting hooks.php

Michael M Slusarz slusarz at horde.org
Fri Sep 7 16:08:36 UTC 2007


Quoting Jan Schneider <jan at horde.org>:

> Hi,
>
> I would like to propose splitting up hooks.php to have a separate file
> for each application's hooks. The Horde::callHook() method already
> supports it, so it wouldn't break BC, and I think it's much more
> intuitive for new users to have example hooks for an application
> bundled with the application.
> It makes more sense for us developers too because it doesn't make much
> sense to update Horde code if you introduce a new hook in an
> application.
>
> Thoughts, opinions?

I agree, especially since everytime I put a new application hook in,  
it seems counterintuitive to put it in Horde instead of the specific  
app.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list