Mustache provides logic-less Ruby templates for quickly building web pages.
The templates is inspired by Google's ctemplate and Ivan fomichev's et (Erlang Template Engine Prototype).
Mustache is a framework-agnostic way to render logic-free views.
Created files will be separated into two aprts: a Ruby class and an HTML template.
The Ruby class is called the "view" and the HTML template the "template."
Mustache ships with Sinatra integration. It also works great with TextMate, Vim, Emacs, and Coda.
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.
What's New in This Release: [ read full changelog ]
· Sinatra bugfix: mustache :"TEMPLATE.atom"