Pascal Bartl
Quiz by , created more than 1 year ago

TYPO3 CD 2020 (zweite Auflage) Quiz on 5.1 The Fluid Templating Engine, created by Pascal Bartl on 09/04/2021.

2
0
0
Pascal Bartl
Created by Pascal Bartl over 3 years ago
Close

5.1 The Fluid Templating Engine

Question 1 of 2

1

Which statements about “Fluid” and the MVC concept are correct? (2)

Select one or more of the following:

  • The templating engine “Fluid” implements the view in a MVC-based system

  • The templating engine “Fluid” acts as an interface between the controller and the model

  • The FluidController class can bypass the controller and read the content from the database directly if required

  • Data (for example objects retrieved from a repository) should be passed from the controller to the view

Explanation

Question 2 of 2

1

Which statements about partials are correct? (3)

Select one or more of the following:

  • All partials should be stored in one central file

  • The purpose of a partial is to contain a small piece of recurring code

  • A partial can only be included in template files, but not in layout files

  • A variable var can be passed to a partial by using arguments="{var: var}"

  • Partials only support the HTML format

  • Partials can be nested recursively

Explanation