Skip to content
Snippets Groups Projects
Commit 60117b50 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[FEATURE] Refactor TCA handling

This patch refactors TCA handling especially in the frontend to
a new codebase, making it more easy to work with, removing
developer headaches, without significant performance impact:

* In FE, full TCA is always loaded and cached after first call
to a core cache disk. ext_tables are not executed on every call.
* In BE, intermediate TCA is cached, rendering the dynamicConfigFile
setting useless. The destinction between 'ctrl' and 'columns' is
gone.
* TCA files should now be located at
ext:extensionname/Configuration/TCA/tablename.php' and should return
an array with the TCA for the table specified by the filename. On
first access, those files are read and cached. 'ctrl' sections from
ext_tables.php can be removed completly.
* TSFE->includeTCA(), TSFE->getCompressedTCarray() and
GeneralUtility:loadTca() are obsolete and deprecated.
* Extensions not using the new TCA load scheme have a compatibility
layer in ext_tables.php to resolve 'dynamicConfigFile' directly after
a specific extensions ext_tables.php file was loaded, so the next one
can already manipulate it with ExtensionManagementUtility methods.
* t3lib/stddb is gone, all files are merged to core.

Resolves: #45767
Releases: 6.1
Change-Id: I50ebe00c80b9b58ded0586637c85e0f495a63dad
Reviewed-on: https://review.typo3.org/18452
Tested-by: Soren Malling
Tested-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Felix Kopp
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent 53fd8b27
Showing
with 4 additions and 1214 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment