mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-25 22:41:32 +02:00
- spacing of jekyll tags at top of file - line wrap at 120 chars - url/link verification and move to bottom and order
11 lines
517 B
Markdown
11 lines
517 B
Markdown
---
|
||
title: Templating
|
||
anchor: templating
|
||
---
|
||
|
||
# Templating {#templating_title}
|
||
|
||
Templates provide a convenient way of separating your controller and domain logic from your presentation logic.
|
||
Templates typically contain the HTML of your application, but may also be used for other formats, such as XML.
|
||
Templates are often referred to as "views", which make up **part of** the second component of the
|
||
[model–view–controller](/pages/Design-Patterns.html#model-view-controller) (MVC) software architecture pattern. |