10 個最好的 JavaScript 模板引擎

jopen 10年前發布 | 23K 次閱讀 JavaScript

今天我們收集了一些非常有用的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 模板引擎

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!