[TYPO3-mvc] How to extend a model class from within another extension?

Sebastian Kurfürst sebastian at typo3.org
Thu Jan 28 10:57:49 CET 2010


Hi Masi,


Sorryy for the long response time ;)

> As every class is load with the class loader we can already detect if we want the "real" class or an
> augmented one. Like in AOP we choose an augmented one provided by a "service" utilized by the
> auto-loader that incorporates all changes configured by extensions. Stripped down is the thing
> because for simplicity I would restrict the augmentations to additions and modifications of methods
> of a particular class defined in a config file (eg ext_localconf.php) and not a complicated
> annotation (which even allows pattern matches).
Yeah, this sounds quite nice right now. Let's discuss that on T3BOARD10,
and then we'll see how to proceed.

> PS: Does the FLOW3 AOP system use proxy classes? I thought once it might be possible to create
> merged replacement classes by using the PHP tokenizer.
It uses proxy classes.

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list