[TYPO3-50-general] Fluid: Caching and additionalArguments

Bastian Waidelich bastian at typo3.org
Wed Mar 11 23:58:11 CET 2009


Karsten Dambekalns wrote:

Hi.

> Make sure there is an issue for that in the tracker... Thanks!

I'm not sure anymore, whether this is a FLOW3 bug at all.
Should dependency injection really be active for all subclasses by 
default? Sounds like a lot of blackbox magic to me.
How are other DI-frameworks handling this?

In any case, I think classes should be designed, so that their 
subclasses work out of the box (or they should be "final"). So I've 
added an issue in the Fluid package:
http://forge.typo3.org/issues/show/2824

I've also added a patch which extracts the cache-handling to an AOP 
aspect. That solves the problem. As a side-effect it makes caching of 
templates configurable (see patch).

Bastian


More information about the TYPO3-project-5_0-general mailing list