I have started working with NodeJs. First, I was just using it for providing simple REST api which has access to NOSQL databases. Now I also want to build html pages and use NodeJS to serve static files, as well as dynamic content using ExpressJs. Jade seems to be the templating library on ExpressJs so planning to use it. Are there any good resources so that I can learn jade. Also is it easy to write some big html pages using jade? I'd prefer some thing like php script tags etc embeded in html files as it is more convenient.
Please let me know what you think about it and any alternatives I should look into.
Jade is the default template engine, but it's not your only option see: http://expressjs.com/guide/using-template-engines.html
It sounds like you want a template engine that's more like
<h1><% variable %></h1>
you should try EJS
Also of note is weld which using 100% valid html for it's templates http://blog.nodejitsu.com/micro-templates-are-dead
Personally I like Jade in combination with Stylus (same minimal markup applied to css)