Project

General

Profile

Actions

Task #83951

closed

Epic #83968: PSR-11 Initiative

Decouple Bootstrap and Application initialization

Added by Benjamin Franzke almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2018-02-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

In order to support full-application subrequests (later on),
bootstraping, application initialization and application execution
should be decoupled.

To be able to initialize a frontend Application in backend
Application context, the frontend Application should not re-execute
bootstraping code.

That means:
  • Bootstrap should be limited to bootstrapping (oh wonder!)
    => setting up global services/whatever, not more.
  • A Container (PSR-11) performs initialization
    => e.g. `new Frontend/Http/Application()`
  • Application performs execution
    => checking possible (application specifc redirects)
    => offloading work to the request handler
Actions

Also available in: Atom PDF