Architecture and request · Question 12 of 12

Which statements about services and data objects in TYPO3 are correct?

2 answers are correct. Hard

Show answer

Answer

  • A Services are shared by default and should therefore be stateless
  • C Domain models and DTOs are data objects, created with new or by the persistence layer, and are not injected

Explanation

The default Services.yaml excludes Classes/Domain/Model/; a shared service instance holding state quickly leads to bugs.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications