From 169b846419f57f328546b9dd9c39fc78a6410c03 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 8 Oct 2014 19:08:26 +0200 Subject: [PATCH] added to intro --- 9-templating.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/9-templating.md b/9-templating.md index fcab06b..6cb00ea 100644 --- a/9-templating.md +++ b/9-templating.md @@ -4,6 +4,12 @@ A template engine is not necessary with PHP because the language itself can take care of that. But it can make things like escaping values easier. They also make it easier to draw a clear line between your application logic and the template files which should only put your variables into the HTML code. +A good quick read on this is [ircmaxell on templating](http://blog.ircmaxell.com/2012/12/on-templating.html). + +For this tutorial we will use a PHP implementation of [Mustache](https://github.com/bobthecow/mustache.php). + +Other well known alternatives would be [Twig](http://twig.sensiolabs.org/) or [Smarty](http://www.smarty.net/), but they are both pretty bloated and offer too much functionality for just a template engine. + to be continued... [<< previous](8-dependency-injector.md) \ No newline at end of file