Thursday, 3 January 2019

New to Node and template engines - handlebars vs mustache ?

Happy New Years All,​I've been doing a bit of research and I'm trying to make sure I understand things correctly before I set my self down a learning path.​My goal:To have a template engine that will render HTML pages, served up by Node, with content coming from my Mongo database, that's pretty much it. I'm a beginner, working on building a simple CMS to learn.​It's important that the contemplating engine be as close to standard HTML as possible. My wife is a front end developer, and I code as a hobby, but prefer the back end. I'd like the template engine to be as close to standard HTML so it's easy for her to develop templates.​My understanding of Mustache:Is that it can be used on many platforms, and Node is just one implementation. It's not as popular as handlebars, at slightly less that 500k NPM downloads per week.​My understanding of handlebars:It's Node specific, and seems to be much more popular for Node than Mustache at a little over 2.3 million downloads per week.​I know this is very high level, but is there something obvious I'm missing?Does anyone have some pros and cons they've learned through experience?​Kind regards

Submitted January 03, 2019 at 02:35PM by sma92878

No comments:

Post a Comment