[TYPO3-core] RFC: new function loadTcaAdditions in t3lib_div

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Oct 17 09:34:22 CEST 2006


Franz Holzinger schrieb:
> Le lundi 16 octobre 2006 à 09:27 +0200, Martin Kutschker a écrit :
> 
>>>This method has already been in use for at least 2 years!
>>>
>>>See
>>>
> 
> http://typo3.org/extensions/repository/view/sr_feedit/0.1.1/info/pi1%
> 
>>>252Fclass.tx_srfeedit_pi1.php/
>>>
>>>We did not find any other way for extension authors to solve this
>>>problem.
>>
>>Did you have a look at my proposal? It's a brain child and I may have 
>>overlooked things.
> 
> 
>>With this function it will.
> 
> 
> 
> Which one? Where can I find it?

To quote my answer from the 11th to your thread starter:

| I propose a solution where for each table a serialized array is stored in
| typo3temp/TCA_<hash>/tablename.data. This copy is created at the same
| time typo3conf/temp_CACHED_<hash>_ext_tables.php is written. A new method
| of TSFE may load this files and generate them if necessary.
|
| If we want to use the same stuff in the BE to save memory there we could
| make it typo3temp/TCA_<TYPO3_MODE>_<hash>/.
|
| With this concept we could also get rid of the crippled compressed TCA of
| FE which has its problems (localization does not work during a BE
| session).

> Is there any worked out concept?

Is this enough for you?

>>>Who wants to do this additional coding for a new TCA handling?
>>
>>How about you? 
> 
> Depends on the location of the change. I have no clue about the EM and
> we now seem to have already 3 of them.

This scheme does not rely on the EM. I think that there are now two 
functions that load the TCA (for BE and FE). These should be unified using 
a function using this idea.

As for EM: may Bernhard now add his DB-based EM variant? I have troubles on 
my own site and adding exiting code shoudln't be a too heavy burden for 
Bernhard (in case he has a strained schedule).

Masi



More information about the TYPO3-team-core mailing list