ReStructured Text InfrastructureTYPO3 CMS - What's Newwiki.typo3.orgTYPO3 CMS Documentation

Feature #57951

API to add cached TCA changes

Added by Stefan Neufeind over 1 year ago. Updated about 1 year ago.

Status:Closed Start date:2014-04-15
Priority:Should have Due date:
Assigned To:Francois Suter % Done:

100%

Category:-
Target version:6.2.0

Description

Files in the extension directory Configuration/TCA/Overrides/ will be executed right before building the cached
TCA. These files must only contain PHP code that manipulate TCA (like addTCAColumns or addToAllTCATypes).

All code manipulating the TCA that previously was in ext_tables.php and therefore was uncachable, can now be in a defined location and is only executed when TCA is built and after that cached.

Category Registry changes will also be applied after Configuration/TCA/Overrides/ has been processed
so that makeCategorizable calls can now also happen in files in this locations and do not need to stay
in ext_localconf.php where they also would be executed on every request.

This will give backend requests quite a performance boost once extensions start using these files.


Related issues

related to Core - Task #57942: Provide API to add cached TCA changes Resolved 2014-04-15
related to Core Documentation Examples - Feature #59047: Make use of TCA/Overrides Closed 2014-05-22
related to Core APIs - Feature #59048: Document TCA/Overrides Resolved 2014-05-22

Associated revisions

Revision 55438790
Added by Francois Suter about 1 year ago

[FEATURE] Document TCA/Overrides

Add documentation for the TCA/Overrides mechanism
introduced in TYPO3 CMS 6.2.1.

Resolves: #57951
Releases: 6.2

Change-Id: I1e86b18754d260c85161ce42c9a6be4e72d40e55
Reviewed-on: https://review.typo3.org/30378
Reviewed-by: Francois Suter
Tested-by: Francois Suter

History

#1 Updated by Ernesto Baschny over 1 year ago

This was added for the "performance workpackage" in 6.2.1, so it's a new (optional) feature which extensions might want to use.

#2 Updated by Francois Suter about 1 year ago

  • Status changed from New to Accepted
  • Assigned To set to Francois Suter
  • Target version set to 6.2.0

#3 Updated by Gerrit Code Review about 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Documentation/TYPO3/Reference/Tca has been pushed to the review server.
It is available at https://review.typo3.org/30378

#4 Updated by Francois Suter about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Francois Suter about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF