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

Michael Scharkow mscharkow at gmx.net
Fri Jun 3 08:42:09 CEST 2005


Dimitri Tarassenko wrote:
> Hi Michael,
> 
> I'll try to explain what I mean. What hooks implement is "chained"
> polymorphism, in other words, they create a possibility to extend the
> existing functions in subclasses, and all the additional steps for a
> hook implemented in ALL subclasses are going to be executed. This
> somehow circumvents the bottleneck of XCLASSing - i.e. only 1 level of
> subclassing.

[..]

> However, this does look a bit better concept than XCLASSing+hooks.
> Hope you enjoyed this;)

Definitely ;) Plus you're proving once more that Python kicks PHP's (and 
a lot of other's) ass in terms of OO *and* elegance. (of which you don't 
have to convince me...)

Greetings,
Michael




More information about the TYPO3-dev mailing list