Mustache is a framework-agnostic logic-less templating language. It enforces separation of view logic from template files.
Due to its structure, the template doesn't even allow or makes it possible to embed logic in a template.
Mustache is also available in:
JavaScript - download mustache.js here
Ruby - download Mustache here.
Python - download pystache here.
Erlang - download mustache.erl here.
PHP - download mustache.php here.
Perl - download Mustache Template here.
Go - download mustache.go here.
Lua - download hige here.
ooc - download Mustang here.
C++ - download plustache here.
ActionScript 3 - download mustache.as here.
Java - download mustache.java here.
node.js - download Mu here.
Requirements:
· PHP 5.2.4 or higher
Limitations:
· Sections don't respect delimiter changes -- delimiters example currently fails with an "unclosed section" exception.
· Test coverage is incomplete.
What's New in This Release: [ read full changelog ]
· Fixed tokenizing when using `mbstring.func_overload.
· Fixed default value for Mustache_Engine::render context passthrough.