Task #27536
closedCaching framework db backend: Use own namespace
100%
Description
This patch refactores the caching framework database backend in a way that its table layout must not be defined in core and extensions anymore.
This gives us a solution to change the table layout however we want.
The former mandatory 'cacheTable' and 'tagsTable' options are obsolete now, the table names depend on the cache identifier name (which is unique).
All tables are named cachingframework_'identifier' and cachingframework_'identifier'_tags now. They must not be defined in ext_tables.sql anymore and are created by the database backend during flush() (which is called by 'clear-all-cache' for every update since #27506).
This patch is fully backards compatible since the 'old' table namespace of extensions is simply not used anymore. Patches to clean up the system extensions extbase and workspaces will follow.
The changes made it necessary to refactor the database backend unit tests as well, all tests were abstracted a bit more and new tests added.
The layout of needed database tables for cache tables is
handled by the caching framework backend internally:
- Extensions using db backend must not define tables in ext_tables.sql anymore
- Updates to table layouts can be handled by the backend itself
- Defining data and tags table in cacheConfigurations is obsolete
- Cache tables start with 'cachingframework_' and are ignored in install tool
- Table handling is fully backwards compatible
Updated by Christian Kuhn over 13 years ago
This is a pre-patch to realize #25119
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ic522c6ad99752b2f8161c2330e5a764d2f74e58d has been pushed to the review server.
It is available at http://review.typo3.org/2800
Updated by Christian Kuhn over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 34603eb56e7da27364927247bb981556176b5fa1.
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed