Zusammenfassung der Ressource
Frage 1
Frage
Which statements about “Fluid” and the MVC concept are correct? (2)
Antworten
-
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
Frage 2
Frage
Which statements about partials are correct? (3)
Antworten
-
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