[TASK] Introduce unified RequestHandling for all requests
The TYPO3 Bootstrap gets a new function run() to unify existing entrypoints in FE, BE, CLI and Install Tool. This way the "visible" part of the bootstrap is reduced to solely using the new "run()" method, which resolves to a proper RequestHandler depending on the following constraints. * Install Tool * Frontend: eID * Frontend: TSFE * Backend: Regular request * Backend: AJAX * Command-Line (CLIkeys) The interface behaves exactly like TYPO3 Flow. Unlike Flow, the request handlers are currently hardcoded inside the bootstrap, but can be extended later. Each RequestHandler logic is currently put from the global scope into the main "handleRequest()" method. Further changes are the deprecation of init.php and the streamlining of Backend requests, as well as diagram of the bootstrap process. Resolves: #65437 Releases: master Change-Id: I3a2ffe60e59005955c5ef3d3c541b61de2b97526 Reviewed-on: http://review.typo3.org/37409 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Helmut Hummel <helmut.hummel@typo3.org> Tested-by:
Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- index.php 1 addition, 8 deletionsindex.php
- typo3/ajax.php 6 additions, 71 deletionstypo3/ajax.php
- typo3/cli_dispatch.phpsh 1 addition, 26 deletionstypo3/cli_dispatch.phpsh
- typo3/init.php 4 additions, 22 deletionstypo3/init.php
- typo3/sysext/backend/Classes/AjaxRequestHandler.php 154 additions, 0 deletionstypo3/sysext/backend/Classes/AjaxRequestHandler.php
- typo3/sysext/backend/Classes/CliRequestHandler.php 140 additions, 0 deletionstypo3/sysext/backend/Classes/CliRequestHandler.php
- typo3/sysext/backend/Classes/RequestHandler.php 84 additions, 0 deletionstypo3/sysext/backend/Classes/RequestHandler.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 114 additions, 8 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/Core/CliBootstrap.php 0 additions, 35 deletionstypo3/sysext/core/Classes/Core/CliBootstrap.php
- typo3/sysext/core/Classes/Core/RequestHandlerInterface.php 50 additions, 0 deletionstypo3/sysext/core/Classes/Core/RequestHandlerInterface.php
- typo3/sysext/frontend/Classes/EidRequestHandler.php 84 additions, 0 deletionstypo3/sysext/frontend/Classes/EidRequestHandler.php
- typo3/sysext/frontend/Classes/RequestHandler.php 68 additions, 46 deletionstypo3/sysext/frontend/Classes/RequestHandler.php
- typo3/sysext/install/Classes/RequestHandler.php 84 additions, 0 deletionstypo3/sysext/install/Classes/RequestHandler.php
- typo3/sysext/install/Resources/Private/PHP/Boot.php 0 additions, 39 deletionstypo3/sysext/install/Resources/Private/PHP/Boot.php
- typo3/sysext/install/Start/Install.php 3 additions, 6 deletionstypo3/sysext/install/Start/Install.php
Please register or sign in to comment