When building the original MVP of DADI Web we settled on using Dust.js as the template language. This was because it was the best ‘all rounder’ and in active-development with backing by a large corporation (LinkedIn, surprisingly).
Since then Node.js-powered front-end has matured considerably and we now see not only the number of template languages evolving, but also those wishing to bring their own template language to the DADI platform.
To this end, we abstracted the template engine in Web 3.0, opening the doors for people to hook in any engine they wish.
At time of writing we currently support Dust.js, Mustache.js, Handlebars.js, Pug (formerly ‘Jade’) and ES6 template literals. You can see any more that get added by checking on the NPM keyword ‘dadi-web-engine’.
Getting started
The best way to get stuck in is to check our existing codebases, listed above. We have also created a sample engine that you can use as a starting point.
If you have an existing template engine in mind, think of this as building a wrapper interface between Web and that engine.
Suggested workflow
Download & npm install Web from .
Tutorials
Last Updated:
September 2019

