[TYPO3-mvc] URGENT CHANGE REQUEST: Dependency Injection Problems with ExtBase 1.3.0RC1

Michael Knoll mimi at kaktusteam.de
Mon Jan 24 10:58:58 CET 2011


Hey Sebastian,

thanks for answering on this... it would be really great, if you could 
help us out on that issue. We have a patch, that lets you add an 
annotation on the injection method preventing DI from injecting classes. 
We will provide you that as soon as my Zend Studio lets me open the 
project again *grml*.

We thought about using DI from ExtBase but there are some issues:

1) We DI to use custom factories to create the injected objects.

2) We need a mechanism that lets you configure the concrete instances of 
given interfaces via TypoScript or something so that you can choose 
which concrete implementation to use.


I didn't have the time yet to take a deeper look into your Container, as 
soon as I have the time, I will send you some proposals on how to make 
this work for us so we can discuss whether that should be part of 
ExtBase or not.

Still thanks a lot!

Greetings from Karlsruhe

Michael



Am 24.01.11 08:12, schrieb Sebastian Kurfürst:
> Hey,
>
> yeah, we can disable DI for a whole extension; could you provide a patch
> please?
>
> Still, if you already use inject* methods; maybe you should only throw
> away cour custom Dependency Injection and use the one of Extbase instead?
>
> Thanks,
> Sebastian



More information about the TYPO3-project-typo3v4mvc mailing list