3.5 PSR-15 Middleware in TYPO3

Descripción

TYPO3 CD 2020 (zweite Auflage) Test sobre 3.5 PSR-15 Middleware in TYPO3, creado por Pascal Bartl el 09/04/2021.
Pascal Bartl
Test por Pascal Bartl, actualizado hace más de 1 año
Pascal Bartl
Creado por Pascal Bartl hace más de 3 años
1
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

Pregunta
Where can you look-up the current order of registered middlewares in TYPO3? (1)
Respuesta
  • 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
Mostrar resumen completo Ocultar resumen completo

Similar

Mapas mentales con ExamTime
maya velasquez
2. PROTEINAS
Vivi Riquero
Glosario de Términos Educativos
maya velasquez
Esquema del reformismo ilustrado en España
maya velasquez
Linea de tiempo PLANEACION ESTRATEGICA
Tactica Artico
Música del Renacimiento 1
Joshua Quiroz
Resumen sobre Los Reyes Católicos
maya velasquez
Plantilla para Presentar Trabajos con Mapas Mentales
Diego Santos
PROPIEDADES DEL AGUA: FÍSICAS Y QUÍMICAS
Raúl Asael Vargas Gutiérrez
R.D. 796/2005, De 1 de julio, Regimen disciplinario (Esquema 3)
Miguel Angel del Rio
DERECHO LABORAL LINEA DEL TIEMPO
felipe cardenas