Template Engines and Consolidate.js
Azat Mardan · Apress eBooks · 2014
Template engines are libraries that allow us to use different template languages (EJS, Handlebars, Jade, etc.). But what is a template language? Template language is a special set of instructions (syntax and control structures) that instructs the engine how to process data. The language is specific to a particular template engine. The instructions in the templateare usually used to present data in a better format suitable for end-users. In in the case of web apps such final representation format is HTML. So basically, we have some data (JSON or JavaScript/Node.js objects), and templates (EJS, Handlebars, Jade, etc.). When they are combined, we get the output, which is a good old HTML. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.