[TYPO3-team-core-v5] RFC: ComponentFactory

Malte Jansen mail at maltejansen.de
Mon Sep 29 11:54:09 CEST 2008


Hi,

there was already a discussion for this topic:
"[TYPO3-team-core-v5] Upcoming commit: Big change in the component manager"

IMO the ComponentFactory should also have a function 
isComponentRegistered(), so it's pretty easy to make your own 
subfactory. Otherwise you have to load the ComponentManager, just for 
asking the CM, if you can get a certain component from the factory.

You can also extend the ComponentFactory to your own needs. So if there 
is a certain component not available, you could provide an alternative 
or default-component.

I have added a small patch. So this will be the first RFC. ;)

Cheers,

Malte
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FLOW3_Factory_improvment_v1.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core-v5/attachments/20080929/749efe65/attachment.txt 


More information about the TYPO3-team-core-v5 mailing list