Project

General

Profile

Actions

Feature #85389

closed

Introduce Context API for consistent data handling

Added by Benni Mack over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
Start date:
2018-06-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

A new API for containing current information about various settings is added - Contexts.

The current context contains various (flexible) aspects, which act as a data bag.

An aspect is typically exposing only the necessary parts, e.g. not a full frontend user object, but only the data that is needed for various checks.

In practice, the Context API replaces a lot of inconsistent settings spread over all globally available objects (TSFE, sys_page, BE_USER) and makes them available at any time of the application / request lifecycle.

Any extension can add an aspect to the current context.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #85408: Minor cleanups for Context APIClosedBenni Mack2018-06-27

Actions
Related to TYPO3 Core - Bug #85447: Adapt glitches of context patchClosed2018-07-02

Actions
Actions #1

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57104

Actions #2

Updated by Gerrit Code Review over 6 years ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57104

Actions #3

Updated by Gerrit Code Review over 6 years ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57104

Actions #4

Updated by Gerrit Code Review over 6 years ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57104

Actions #5

Updated by Benni Mack over 6 years ago

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

Updated by Christian Kuhn over 6 years ago

  • Related to Task #85408: Minor cleanups for Context API added
Actions #7

Updated by Christian Kuhn over 6 years ago

  • Related to Bug #85447: Adapt glitches of context patch added
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF