Add new Templating section.

This commit is contained in:
Jonathan Reinink
2014-07-25 14:53:02 -04:00
parent 89e79368e8
commit b761690292
35 changed files with 118 additions and 2 deletions

View 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
[modelviewcontroller](http://www.phptherightway.com/pages/Design-Patterns.html#model-view-controller) (MVC)
software architecture pattern.