10 个最好的 JavaScript 模板引擎

jopen 10年前

今天我们收集了一些非常有用的JavaScript模板引擎来进行开发。

1) Jade

jade is a highly performance node JavaScript template engine with great API and amazing features. It designed for server side tempting in node.

 

10 个最好的 JavaScript 模板引擎

2) Mustache

Mustache is a logic-less template syntax. It can be used for HTML, config files, source code – anything. It works by expanding tags in a template using values provided in a hash or object.

 

10 个最好的 JavaScript 模板引擎

3) Transparency

transparency is a powerful client side template engine which binds data to DOM. it has some great features as valid HTML templates, View logic in JavaScript, Transparency is computable with IE9+, Chrome, Firefox, iOS, Android, Etc.

 

10 个最好的 JavaScript 模板引擎

4) Underscorejs

Underscore is a JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.

 

10 个最好的 JavaScript 模板引擎

5) Embeddedjs

EJS cleans the HTML out of your JavaScript with client side templates. After EJS gets its rubber gloves on dirty code, you’ll feel organized and uncluttered.

 

10 个最好的 JavaScript 模板引擎

6) DoTjs

doT.js was created in search of the fastest and concise JavaScript templating function with emphasis on performance under V8 and Node.js. It shows great performance for both Node.js and browsers.

 

10 个最好的 JavaScript 模板引擎

7) Handlebarsjs

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration.

 

10 个最好的 JavaScript 模板引擎

8) T.js

T.js is a template engine that uses simple Javascript data structure to represent html/xml data.

 

10 个最好的 JavaScript 模板引擎

9) Dustjs

Dust is a asynchronous templates for the browser and node.js.

 

10 个最好的 JavaScript 模板引擎

10) Nunjucks

Nunjucks is more sophisticated templating engine for JavaScript with some amazing features Rich Powerful language with block inheritance, autoescaping, macros, asynchronous control, and more.

 

10 个最好的 JavaScript 模板引擎