Layout – This contains the layout files for the theme. These are XML files which are used to define blocks for each controller route. For each block a template, a type and child blocks can be set.


Setting child blocks then allows the child block to be output from the parent block.


Templates – This contains the template phtml files which are mostly html but also can include php. These are for displaying the frontend html for the application.