[TYPO3-mvc] typo3.eclipse.extender with object manager in Extbase

Bastian Waidelich bastian at typo3.org
Wed Oct 6 17:23:15 CEST 2010


Martin Kutschker wrote:

>>> But how will the factory create a new object if not with "new"?
>> new would still work as before [...]
> I mean *within* the factory.

I'm with you, but that is not a problem. If you look at the example code 
in the proposal you can see that new objects are only instantiated if 
given $className exists in $this->registeredClasses.
But you're right, without that you could easily end up in a dead lock..


> And besides that the submitter (Robert) may easily counter arguments he has seen
> before in discussions outside of the PHP community.

What do you mean?

Bastian



More information about the TYPO3-project-typo3v4mvc mailing list