Here was the problem.. I want templates that will work in both PHP and NodeJS-ExpressJS..
I like to template in PHP the simple way.. like this..
Now this template can be used in Express like this..
var express =app = ;appappvar o = name:'Chris' greeting:'how are you'appappapp
Mustache can be used instead, but partials are not supported
Templates have an .pjs extension and are in /views
See test.js for examples