handlebars.js
handlebars.js 介绍
Handlebars 是 JavaScript 一个语义模板库,通过对view和data的分离来快速构建Web模板。它采用"Logic-less template"(无逻辑模版)的思路,在加载时被预编译,而不是到了客户端执行到代码时再去编译, 这样可以保证模板加载和运行的速度。Handlebars兼容Mustache,你可以在Handlebars中导入Mustache模板
GitHub:https://github.com/wycats/handlebars.js
网站描述:一个Javascript客户端的模板引擎(它也能用于服务器端)