[Typo3-dev] OT: Hooks, was: Pledge fo 3.8.1

Dimitri Tarassenko dtarassenko at gmail.com
Sun Jun 5 06:06:10 CEST 2005


On 6/3/05, Robert Lemke <robert at typo3.org> wrote:
> > Am I the only one thinking that "hooks" are a sign of bad decoupling
> > in software? The more I look at how and where the hooks are used, the
> > more I think that whenever a hook is required and implemented what
> > really needs to be done is the method containing the hook needs to be
> > split in several and one of these submethods should be iplemented in a
> > subclass.
> 
> I fully agree. A true solution is refactoring the API and the underlying
> code in a way that it can be used by an extension - but a quick solution to
> make things possible is providing hooks.

So, the 5.0. in the roadmap is going to go in that direction
(refactoring + getting rid of XCLASS / hooks)? I certainly hope so.

-- 
Dimitri Tarassenko




More information about the TYPO3-dev mailing list