GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

3.2 Hooks, Signals/Slots and XCLASSes

Gelöschter Nutzer 6 Fragen Aktualisiert am 27 Apr 2022

Quiz starten

Fragen in diesem Quiz (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

Informationen

Beschreibung
Der Nutzer hat seine Fachbereichs-Information gelöscht. Quiz am 3.2 Hooks, Signals/Slots and XCLASSes, erstellt von Gelöschter Nutzer am 27/04/2022.
Autor
Gelöschter Nutzer
Sprache
English
Aufrufe
19
Verlauf
Erstellt am 27 Apr 2022 · aktualisiert am 27 Apr 2022
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck