参考网址:
入门:http://www.nodebeginner.org/index-zh-cn.html#serving-something-useful
安装指南:https://github.com/joyent/node/wiki/Installation
下载文件:http://nodejs.org/dist/, 最新版本吧/node-v0.10.11-x86.msi
1、下载NodeJS http://nodejs.org/dist/, 最新版本吧/*.msi文件
2、安装
3、打开Node.js command prompt 文件 【可选】
1)输入npm install express(参考网址:http://www.fengfly.com/plus/view-209337-1.html)
2)输入npm install jade 安装jade
4、新建xxx.js文件,打开 node.js command prompt 文件,node 目录/xxx.js
1、nodejs有类似于requriejs或者seajs的定义块的功能,可将不同的功能逻辑实现放在不同的js文件,需要的时候进行引入;除了自定义的模块之外,还有一些已经存在的js块供开发者调用。调用方法require("块名或者自定义js路径")
2、