PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

On Templating

Note: This article was originally published at Planet PHP on 11 December 2012.
Planet PHP
I've been playing around withAtemptingAengines a lot lately. For a recent project, I needed the ability to re-use the same template set in both JS and PHP (coupled with the History API, providing seamless dynamic behavior, yet still having raw content pages). Realistically today, there's only one choice for that sort of requirement: Mustache. I've learned a lot while playing with Mustache, and it's really changed my entire viewpoint on presentation layer construction.
Read more A