April 2018
Beginner
226 pages
4h 47m
English
Embedding a template is the process of interpolating data models into the view. Here model can be a JSON or a simple string. The process of template embedding gave rise to new trending frontend technologies such as react.js, ember.js, handlebars.js, and so on. Using such template engines one can develop web clients in the Node.js server itself. This made JavaScript an isomorphic technology. Let us implement such mechanisms at our server side using handlerbar.js.
handlebar.js is a simple templating engine that is capable of embedding the JSON data into templates. When I say simple, I mean it. Let's check it out by implementing it in our node server by following these steps:
Read now
Unlock full access