Back Home

* 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.

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

* DoTjs 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.

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

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

Handlebars

In simple terms data passed to the tempalte is displayed inside {{}} braces e.g

  {{value}}

Arrays

  {{#each listData}}
      {{this}}
  {{/each}}
 
javascript_template.txt · Last modified: 2016/08/04 07:28 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd