added link to alternative opinion
This commit is contained in:
parent
563cc12ab3
commit
034b4b6b6b
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
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 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).
|
A good quick read on this is [ircmaxell on templating](http://blog.ircmaxell.com/2012/12/on-templating.html). Please also read [this](http://chadminick.com/articles/simple-php-template-engine.html) for a different opinion on the topic. Personally I don't have a strong opinion on the topic, so decide yourself which approach works better for you.
|
||||||
|
|
||||||
For this tutorial we will use a PHP implementation of [Mustache](https://github.com/bobthecow/mustache.php).
|
For this tutorial we will use a PHP implementation of [Mustache](https://github.com/bobthecow/mustache.php).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue