Review main Abandoned

69161[WIP][FEATURE] Add Read Schema for TCA and others

Benni Mack CR 0 V 0 Hard +268 −0 updated 08/19/22, 15:50

Commit message

This change aims to introduce an API which allows
to read most common values from TCA
(or other structures such as "site_language") without
dealing with GLOBALS[TCA].

The SchemaFactory concept allows to fetch Schema
instances, and only deals with Interfaces.

The most important conceptual design is that a Schema
(such as "tt_content") defines its subtypes as Subschemata
(e.g. "tt_content.textpic") to only fetch fields relevant
for this subtype.

This is heavily WIP as I want to see if this fulfills our
needs.

Review

  • Code review CR 0
  • Verified V 0

Files 5

Review log 89

  1. Benni Mack uploaded patch set 1 05/17/21, 20:20

  2. core-ci voted on patch set 1 V -1 05/17/21, 20:26 Core CI is not happy: https://gitlab.typo3.org/TYPO3/CI/cms/-/pipelines/11599

  3. Oliver Hader commented on patch set 1 05/17/21, 20:38

    Like the idea of having that in dedicated objects (models). Back then (5 years ago) I encapsulated some aspects to a dedicated service, see https://github.com/TYPO3incubator/event_sourcing/blob/master/Classes/Core/Service/MetaModelService.php
  4. Benni Mack voted on patch set 1 V +2 CR +2 07/30/21, 09:14

  5. Benni Mack voted on patch set 1 V 0 CR 0 07/30/21, 09:14

  6. Benni Mack abandoned the change 11/05/21, 12:53

  7. Benni Mack restored the change 01/25/22, 16:49

  8. Benni Mack wrote 01/27/22, 15:47

    Change destination moved from master to main
  9. Benni Mack abandoned the change 08/19/22, 15:50

    abandoned in favor of new approach