Review main Abandoned

74264[POC][TASK] Convert TCA field configuration to objects

Nikita Hovratov CR 0 V 0 Normal +192 −51 updated 06/11/23, 23:07

Commit message

A first step towards TCA being objects could be to
define a configuration class for field config. This
is the smallest unit in TCA. This wouldn't require a
massive refactoring and could be continued in other
areas afterwards. Working the way up from bottom to
top will be a lot easier, than to start with the
first-level TCA table keys.

The main goals are:

- type safety
- moving initialization logic away from executing
  code (in this case away from FormElement).
- clear understanding, what a TCA type is capable of
  without the need to read the docs or gather
  information scattered around the core.
- IDE autocompletion.

Review

  • Code review CR 0
  • Verified V 0

Files 3

Review log 610

  1. Nikita Hovratov uploaded patch set 1 04/09/22, 22:44

  2. core-ci voted on patch set 1 V -1 04/09/22, 22:57 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/25888

  3. Nikita Hovratov uploaded patch set 2 04/09/22, 23:00

  4. core-ci voted on patch set 2 V +1 04/09/22, 23:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/25889

  5. Nikita Hovratov uploaded patch set 3 04/19/22, 12:48

  6. core-ci voted on patch set 3 V -1 04/19/22, 13:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26186

  7. Nikita Hovratov uploaded patch set 4 04/19/22, 13:12

  8. core-ci voted on patch set 4 V +1 04/19/22, 13:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26188

  9. Christian Kuhn commented on patch set 4 06/11/23, 23:07

    hey. this patch did not gain any traction for a while and looks stalled. i hope it's ok to abandon here for now. feel free to communicate on a tca object model in case this is picked up again.
  10. Christian Kuhn abandoned the change 06/11/23, 23:07