官方介紹:Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.node
Node.js的是創建在 Chrome's JavaScript runtime 上方便、快速地開發平臺,可擴展的網絡應用程序。Node.js使用事件驅動,非阻塞I/ O模型,使得它輕量級,高效,完美的跨分佈式設備運行數據密集型實時應用。網絡
關於JS更詳細介紹,請看http://www.infoq.com/cn/articles/what-is-nodejs http://www.infoq.com/cn/minibooks/nodejs 。app
Node.js官網http://nodejs.org/分佈式
下面開始介紹環境配置,Node.js環境配置很簡單,從官網選擇你要的版本下載(http://nodejs.org/download/)安裝便可(個人系統是win8.1_64位系統)。ui
安裝好以後直接啓動Node.jsgoogle
Node.js既然是一個JS運行平臺,那麼它用的就是Javascript語法,下面開始第一段代碼:spa
console.log('Hello World')scala
下面介紹一下使用NodejsToolsForVisualStudio在VS2013下開發Node.js:code
一、下載安裝NTVS(https://nodejstools.codeplex.com/releases/view/114437)orm
二、打開VS,新建項目,選擇其餘語言--Javascript,如圖: