[Solved] Understanding PHP templates [closed]


A template is basically a visual representation of something (like data I.E), can be dynamic or not, the template should hold placeholders that will be replaced with values passed to the template. Usually a template is a skeleton that should serve only as the visual representation (styles, markup). The main purpose of templates is to separate the logic from the visualization.

In MVC, the templates would be the View Layer.

solved Understanding PHP templates [closed]