Node.js > PHP Consider using express-handlebars as your view engine. https://www.npmjs.com/package/express-handlebars