¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

3.2 Hooks, Signals/Slots and XCLASSes

Usuario eliminado 6 preguntas Actualizado el 27 abr 2022

Hacer el test

Preguntas del test (6)

  1. 1What are “signals/slots” and how do you use them? (2)
    1. ASignals notify developers about security risks in their code
    2. BThe signal/slot concept can be used to extend TYPO3 core functionality
    3. CThe signal/slot dispatcher is required to emit a signal
    4. DSlots are an abstract instance of a signal class
  2. 2What are “signals”? (1)
    1. ASignals are classes located in directory Classes/Signals/
    2. BSignals are used to write entries to the internal log
    3. CSignals are building blocks for domain driven design
    4. DSignals are used to connect external data sources to Extbase
    5. ESignals are emitted by the TYPO3 core or by extensions to extend existing functionality
  3. 3What are typical benefits of “signals/slots”? (2)
    1. ASignals/slots extend the TYPO3 core without the need to edit core files
    2. BSignals/slots are meant to simulate SQL procedures using pure PHP code
    3. CSignals are never marked deprecated and will remain in the TYPO3 core forever
    4. DOne signal can trigger multiple slots
  4. 4How do you connect a slot to a signal when using TYPO3’s SignalSlotDispatcher? (1)
    1. Ajoin()
    2. Bconnect()
    3. Cattach()
    4. Dinsert()
    5. Eslot()
  5. 5Which statements about XCLASSes are correct? (2)
    1. AXCLASSes prevent cross-site scripting (XSS) attacks
    2. BXCLASSes extend core classes and/or overwrite core methods
    3. CXCLASSes need to be registered in the file Configuration/Overrides/xclasses.php
    4. DXCLASSes need to be registered in the following global array:
      $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']
    5. EXCLASSes replace files from TYPO3 source package which possibly impacts the TYPO3 update process
  6. 6What are typical limitations of XCLASSes? (3)
    1. AXCLASSes only work on core classes that are instantiated using the GeneralUtility::makeInstance() method
    2. BXCLASSes do not work on static classes, static methods or final classes
    3. CThere can only by one XCLASS per base class
    4. DXCLASSes only work in Composer-based TYPO3 installations
    5. EThe visibility of all properties of an XCLASS must be private

Información

Descripción
El usuario ha eliminado su información de asignaturas Test sobre 3.2 Hooks, Signals/Slots and XCLASSes, creado por Usuario eliminado el 27/04/2022.
Autor
Usuario eliminado
Idioma
English
Visitas
19
Historial
Creado el 27 abr 2022 · actualizado el 27 abr 2022
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?