mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-28 15:50:06 +02:00
Add new Templating section.
This commit is contained in:
12
_posts/08-01-01-Templating.md
Normal file
12
_posts/08-01-01-Templating.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
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", the second component of the
|
||||
[model–view–controller](http://www.phptherightway.com/pages/Design-Patterns.html#model-view-controller) (MVC)
|
||||
software architecture pattern.
|
Reference in New Issue
Block a user