[TYPO3-mvc] How to get calculated data from a query into an object?

Martin Kutschker masi-no at spam-typo3.org
Thu Feb 18 12:14:36 CET 2010


Nikolas Hagelstein schrieb:
> Hi,
>> No, there is no better way :( I thought that I've found another one but
>> I didn't. ExtBase shouldn't
>> put the framework initialization code in the dispatcher.
> Indeed.
> 
> But isnt the dataMapper a singleton anyway? So I could be received by
> makeInstance?

In theory, yes. But have a look at the dispatcher. Then you see how complex it is to *initialize*
all these singletons.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list