[TYPO3-team-core-v5] Upcoming commit: Big change in the component manager
Malte Jansen
mail at maltejansen.de
Wed Jul 23 11:12:50 CEST 2008
Robert Lemke schrieb:
> Hi Malte,
>
> Am 23.07.2008 um 10:41 schrieb Malte Jansen:
>
>> should this mail be an offtopic? (your Email is not in the list).
>
> no. I just replied and according to the mail headers you sent the mail
> directly to me, not to the list - which I didn't realize.
>> IMO the factory should be extended, because later they are man
>> possibilities to use this to make your own factory with a certain
>> interface and some components.
>> Perhaps an other name would be better...?
>> canGetComponent
>> canCreateComponent
>
> We can do something similar as soon as we have a real need for it. But
> not before.
>
> Cheers
> robert
Hi Robert,
I just have the need for it for the FLOW3CGL for checking the
DocComment. So it's pretty easy to implement further tags like @scope
etc. If there is new tag introduced, you just have to implement a
further component with the same interface and special rules/properties.
And if this tag is not implemented as component, it might be a
marker-tag for an aspect.
So it would be pretty cool to have an "intelligent" factory, which can
check if a component is available for creation.
Cheers,
Malte
More information about the TYPO3-team-core-v5
mailing list