Issue Task Closed

#83951Decouple Bootstrap and Application initialization

Benjamin Franzke 02/17/18, 13:50 updated 10/02/18, 10:52

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

Reviews 1