Feature #69855

Add Dispatcher for Backend Routing

Added by Benni Mack about 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
Start date:
2015-09-15
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The newly introduced Backend Routing is updated so that Routes
must define not just the controller but also the action which should
be called. It is now also possible to use a Closure / callable directly
to be called as a Route.

The RequestHandler now creates the Response object, which is handed to the Dispatcher and to the respective action. This way
each action can already use the existing Response object.

The Dispatcher resolves the action and hands over the request and
response action.

All existing Routes have been adapted to use controller and actions.

The fixed ControllerInterface is not needed anymore (but still in use for eIDs currently).

A similar approach will follow for Backend AJAX Requests.

Associated revisions

Revision 15ef75bc (diff)
Added by Benni Mack almost 4 years ago

[FEATURE] Add Dispatcher for Backend Routing

The newly introduced Backend Routing is updated so that Routes
must define not just the controller but also the action which should
be called. It is now also possible to use a Closure / callable directly
to be called as a Route.

The RequestHandler now creates the Response object, which is
handed to the Dispatcher and to the respective action. This way
each action can already use the existing Response object.

The Dispatcher resolves the action and hands over the request and
response object.

All existing routes have been adapted to use controller and actions.

The fixed ControllerInterface is not needed anymore.

Resolves: #69855
Releases: master
Change-Id: I6edcf8e0f6b49580052f24ca9fd7ad352b6d6f34
Reviewed-on: http://review.typo3.org/43337
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43337

#2 Updated by Gerrit Code Review almost 4 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43337

#3 Updated by Gerrit Code Review almost 4 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43337

#4 Updated by Gerrit Code Review almost 4 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43337

#5 Updated by Gerrit Code Review almost 4 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43337

#6 Updated by Gerrit Code Review almost 4 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43337

#7 Updated by Gerrit Code Review almost 4 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43337

#8 Updated by Benni Mack almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#9 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF