[TYPO3-50-general] ObjectManager and ObjectFactory

Malte Jansen mail at maltejansen.de
Wed Nov 19 17:32:45 CET 2008


Hi,

while refactoring the component 2 object for FLOW3CGL, I stumbled across 
the naming of

F3::FLOW3::Object::Manager::getObject(...)
F3::FLOW3::Object::Factory::create(...)


Wouldn't it be better, if they have the same naming?
E.G. You alredy have the factory injected into a class. Later, you need 
a singleton-object. So you have to update much more (the function name). 
It can be done via a replace-function, but it is still a little bit more 
work.

So, the same name would be nice.


Cheers,

Malte


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