[FEATURE] Introduce "Application" classes for all entry points 93/40493/14
authorBenjamin Mack <benni@typo3.org>
Sat, 20 Jun 2015 16:26:25 +0000 (18:26 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 30 Jun 2015 21:47:28 +0000 (23:47 +0200)
commitc6d2534eed49e07b5b00f09b86e413da8db78bde
treec4b94f90e8865c5d2c07410ced6f5be16bddba88
parent2b9d49be560adeec948cac639dd5eb6d34595f97
[FEATURE] Introduce "Application" classes for all entry points

In an effort to move away from TYPO3_MODE and global code
an instance that acts as an entry point has been introduced. The
Application class which serves as a wrapper for setting up the
Bootstrap and calling the request has been introduced.

Additionally, new Applications (like typo3_console) can benefit
from the flexible way of registering RequestHandlers on their own
while still using the bootstrap or only parts of it.

Resolves: #67808
Releases: master
Change-Id: I20c92d0bc8df5d50d76922a8dfe1cbd898e6f1dd
Reviewed-on: http://review.typo3.org/40493
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
47 files changed:
composer.json
index.php
typo3/ajax.php
typo3/alt_clickmenu.php
typo3/alt_db_navframe.php
typo3/alt_doc.php
typo3/alt_file_navframe.php
typo3/backend.php
typo3/browser.php
typo3/cli_dispatch.phpsh
typo3/db_new.php
typo3/dummy.php
typo3/index.php
typo3/init.php
typo3/login_frameset.php
typo3/logout.php
typo3/mod.php
typo3/move_el.php
typo3/show_item.php
typo3/sysext/backend/Classes/AjaxRequestHandler.php [deleted file]
typo3/sysext/backend/Classes/BackendModuleRequestHandler.php [deleted file]
typo3/sysext/backend/Classes/CliRequestHandler.php [deleted file]
typo3/sysext/backend/Classes/Console/Application.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Console/CliRequestHandler.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Http/AjaxRequestHandler.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Http/Application.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Http/BackendModuleRequestHandler.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Http/RequestHandler.php [new file with mode: 0644]
typo3/sysext/backend/Classes/RequestHandler.php [deleted file]
typo3/sysext/backend/Tests/Unit/BackendModuleRequestHandlerTest.php
typo3/sysext/core/Build/UnitTestsBootstrap.php
typo3/sysext/core/Classes/Core/ApplicationInterface.php [new file with mode: 0644]
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Documentation/Changelog/master/Feature-67808-IntroduceApplicationClassesForEntryPointsAndEquivalentRequestHandlers.rst [new file with mode: 0644]
typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php
typo3/sysext/frontend/Classes/EidRequestHandler.php [deleted file]
typo3/sysext/frontend/Classes/Http/Application.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/Http/EidRequestHandler.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/Http/RequestHandler.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/RequestHandler.php [deleted file]
typo3/sysext/install/Classes/Http/Application.php [new file with mode: 0644]
typo3/sysext/install/Classes/Http/RequestHandler.php [new file with mode: 0644]
typo3/sysext/install/Classes/RequestHandler.php [deleted file]
typo3/sysext/install/Start/Install.php
typo3/tce_db.php
typo3/tce_file.php
typo3/thumbs.php