Skip to content
Snippets Groups Projects
Commit 528b90fe authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Allow ServerRequestInterface in ext:fluid

This changes StandaloneView and RenderingContext
to accept instances of ServerRequestInterface or
no Request at all - in contrast to extbase Request
only.

This is possible with extbase Request implementing
ServerRequestInterface since v11.

The patch changes a couple of ViewHelpers like the
often used TranslateViewHelper: It can run without
triggering extbase magic, which especially avoids the
performance wise awful ConfigurationManager. Further
patches will refactor backend views to leverage this.

Internal method RenderingContext->getUriBuilder()
is obsoleted and removed along the way.

This is a powerful change since it drops the last hard
dependency to extbase in fluid and allows views without
extbase being involved at all.

Change-Id: I3b447b6f70e9ae6f94b981478cd8c4f43a86e9d4
Resolves: #96473
Related: #94428
Releases: main
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72758


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 61de2f37
Branches
Tags
Showing
with 420 additions and 504 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment