null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
30183067
3.5 PSR-15 Middleware in TYPO3
Description
TYPO3 CD 2020 (zweite Auflage) Quiz on 3.5 PSR-15 Middleware in TYPO3, created by Pascal Bartl on 09/04/2021.
No tags specified
typo3 cd 2020 (zweite auflage)
Quiz by
Pascal Bartl
, updated more than 1 year ago
More
Less
Created by
Pascal Bartl
over 3 years ago
1
0
0
Resource summary
Question 1
Question
Which statements about middlewares are correct? (2)
Answer
Multiple middlewares must be implemented in multiple extensions
Middlewares in TYPO3 follow the PSR-15 standard
The MiddlewareProvider in TYPO3 requires at least PHP version 7.3
Middlewares are the successor of CenterWares in PHP version 5.6
TYPO3 comes with some default middlewares that can be overwritten by custom implementations
Question 2
Question
How do you implement a custom middleware in TYPO3? (1)
Answer
By developing an extension with the class Classes/Domain/Backend/Middleware.php
By developing an extension with the class Classes/Domain/Middleware/Backend.php
By extending the core class \TYPO3\CMS\Core\AbstractMiddleware
By registering the custom middleware class in file Configuration/RequestMiddlewares.php
Question 3
Question
Which statements about the position of a middleware in the process stack are correct? (3)
Answer
If the same middleware key is used multiple times, these middlewares are executed in random order
If the same middleware key is used multiple times, previous middlewares are overwritten (replaced)
Middlewares provided by the TYPO3 core can not be overwritten for security reasons
Custom middlewares can be positioned in the process stack by specifying a “before” rule
Custom middlewares can be positioned in the process stack by specifying a “after” rule
Question 4
Question
Where can you look-up the current order of registered middlewares in TYPO3? (1)
Answer
In the TYPO3 backend under SYSTEM → Configuration → HTTP Middlewares (PSR-15)
In the TYPO3 backend under ADMIN TOOLS → Environment → Environment Overview
By executing the CLI command typo3/sysext/core/bin/typo3 configuration:middlewares
By reviewing the file typo3conf/MiddlewaresConfiguration.php
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Vocabulário Inglês Básico
miminoma
Health and Social Care
NicoleCMB
Nazi Germany Dates
Georgina.Smith
B7: Further Biology
Matthew Law
A-level Maths: Key Differention Formulae
Andrea Leyden
Input Devices
Jess Peason
PSBD TEST 2-2
Suleman Shah
GCSE Revision Tips
miminoma
GRE Verbal Reasoning Vocabulary Flashcards 1
Sarah Egan
General Pathoanatomy Final MCQs (111-200)- 3rd Year- PMU
Med Student
ОБЖ2
хомяк убийца
Browse Library