Review main Merged Breaking

38095[!!!][FEATURE] Introduce Backend Routing

Benni Mack CR +2 V +2 Hard +724 −150 updated 08/07/15, 09:50

Commit message

A new Routing API is introduced in order to streamline
the entrypoints to the TYPO3 Backend.

Instead of using the term "module" for anything linkable
in the backend, the term "routes" fits more. A "module"
or an ajax call is a derivative of a route, which will
build on this foundation.

Routes can be registered via
Configuration/Backend/Routes.php in any extension
and are loaded solely on Backend requests.

There are three new classes:
- Route (a single route with a path and some options)
- Router (API to match paths)
- UriBuilder (Generates a Backend URI)

This patch changes the entrypoint for
login/logout to typo3/index.php?route=...&token=....

The main RequestHandler of all Backend modules
detects where a route parameter is given and
then resolves to a controller which inherits the ControllerInterface
introduced with PSR-7, and checks for a valid token.

See http://wiki.typo3.org/Blueprints/BackendRouting
for implementation details.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 21