[TYPO3-mvc] Using interfaces for dependency injection on domain models

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Tue Mar 29 19:57:56 CEST 2011


Thomas "Thasmo" Deinhamer wrote:
>
> Is it also recommended or does it make sense to
> also use intefaces on domain models, so someone
> could easily exchange models with TypoScript?

Anyone?

Is DI capable of instantiating the correct,
concrete class, when using interfaces for domain models?

Thanks a lot,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list