[TYPO3-core] RFC #8985: Enable USER object to become USER_INT on the fly
Martin Kutschker
masi-no at spam-typo3.org
Thu Jul 17 09:30:11 CEST 2008
Dmitry Dulepov [typo3] schrieb:
> Hi!
>
> Martin Kutschker wrote:
>> But why cannot TYOP3 figure the requirement much later when it needs
>> to?
>
> Because it depends on extension. TYPO3 does not know about every
> extension and its requirements. Only extension can determine it.
Usually you have one class file for a plugin. This will include other
files if necessary.
For USER objects the "master lib" is defined within the TS definition.
It will only be loaded when a USER is rendered.
For USER_INTs this is globally defined because a USER_INT might be rendered.
What I say is that the lib (or libs) needed to be rendered can be
detected at runtime. That is when we render a USER_INT we look up in its
TS definition and put only these to the list of libs to be loaded.
I hope I got this right because I wrote this only from memory.
Masi
More information about the TYPO3-team-core
mailing list