Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 4.36 KB

templating-languages-and-engines.md

File metadata and controls

41 lines (31 loc) · 4.36 KB

Templating Languages and Engines

Context: frontend-dev-bookmarks / Languages, Protocols, Browser APIs

Template engines are tools to separate program-logic and presentation into two independent parts. This makes the development of both logic and presentation easier, improves flexibility and eases modification and maintenance.

frontend.directory PayPal Beerpay Flattr Gitter Twitter


  • Dust.js by LinkedIn: Dust is a Javascript templating engine. It inherits its look from the ctemplate family of languages, and is designed to run asynchronously on both the server and the browser.
  • HyperScript: Create HyperText with JavaScript, on client or server.
  • Mustache: Mustache is a Logic-less template language. There are no if statements, else clauses, or for loops. Instead there are only tags.
    • Handlebars.js: Handlebars.js is an extension to the Mustache templating language. Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be.
    • Hogan.js: Hogan.js is a 3.4k JS templating engine developed at Twitter. It was developed against the mustache test suite.
    • Mustache Specification: This document explains the different types of Mustache tags.
    • Walrus: Walrus is a templating library inspired by mustache, handlebars, ejs and friends, but with a couple of important differences in philosophy and style.
    • mustache.js: mustache.js is an implementation of the mustache template system in JavaScript.
    • templayed.js: The fastest and smallest Mustache compliant Javascript templating library written in 1806 bytes.
  • Nunjucks: A rich and powerful templating language for JavaScript.
  • T: T.js is a template engine that uses simple Javascript data structure to represent html/xml data.
  • Transparency: Transparency is a minimal template engine for jQuery. It maps JSON objects to DOM elements with zero configuration.
  • Weld: Weld binds data to markup, and can generate markup based on your data. There's no special syntax or data reshaping required.
  • doT.js: The fastest + concise javascript template engine for Node.js and browsers.
  • dōmo: dōmo lets you write HTML markup and CSS styles in JavaScript syntax. It is a simpler and easier alternative to template engines and CSS pre-processors.
  • pithy: An internal DSL for generating HTML in JavaScript.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Please provide a link back to this repository. This is not necessary for GitHub forks.