3.5 PSR-15 Middleware in TYPO3

Beschreibung

TYPO3 CD 2020 (zweite Auflage) Quiz am 3.5 PSR-15 Middleware in TYPO3, erstellt von Pascal Bartl am 09/04/2021.
Pascal Bartl
Quiz von Pascal Bartl, aktualisiert more than 1 year ago
Pascal Bartl
Erstellt von Pascal Bartl vor mehr als 3 Jahre
1
0

Zusammenfassung der Ressource

Frage 1

Frage
Which statements about middlewares are correct? (2)
Antworten
  • 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

Frage 2

Frage
How do you implement a custom middleware in TYPO3? (1)
Antworten
  • 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

Frage 3

Frage
Which statements about the position of a middleware in the process stack are correct? (3)
Antworten
  • 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

Frage 4

Frage
Where can you look-up the current order of registered middlewares in TYPO3? (1)
Antworten
  • 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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Gedächtnis
Nicole Girard
Aufklärung und Sturm & Drang
Cassibodua
Lernplan
barbarabfm
Wahrscheinlichkeit
barbara91
Kapitel 1: Was macht Psychologie einzigartig?
bence-bartos
Ökologie
Zami I.
Vetie Pharmakologie 2018
Tropsi B
Vetie Immunologie Eingangsklausur WS 2012/2013
T .L
PR 2018/19 GESKO VO 7-12
Adrienne Tschaudi
Vetie Viro 2017
sylva Heise
Msm-4 Foliensatz 3 Kapitel 3
Rabia Erdogan