[Typo3-dev] Alternative to hooks - fake "$this"

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Fri Oct 29 17:26:00 CEST 2004


Frank Benkart [DIACC] wrote:
> Hi Martin,
> ok you don't understand that joke with the F1 car.

I misread it for a metaphor.

And for your BE script example.

I know what you mean and I have stumbled across it. But I think the 
reason it's like this is because they ARE scripts/programs and not 
libraries. Most of the code in these scripts isn't reusable anyway. The 
only benefit for further OOifying is that hacking is a bit easier.

Designwise the BE scripts are my lest concern, both regarding classes 
structure and db normalisation. But it won't hurt to have a strict one 
class per file rule - so we can get a decent class loader into TYPO3.

Masi




More information about the TYPO3-dev mailing list