Nodejs is a server platform that parses JavaScript through the V8 engine, not the JS framework. V8 is open-source JS engine for Google, Chrome is used by him, according to the introduction of Daniel, V8 directly to the JS compiled into machine code, rather than script interpretation of execution, so the speed is very fast.
After Nodejs I was called node, and I wrote it in C + +. Based on the event-driven, non-blocking IO model, which is asynchronous operation, lightweight and easy to get started, here I began to show the example of the official website side, and then slowly study. I use the tool is webstrome, personally feel with him to write code is a kind of enjoyment ah.
Below is the development environment that I study later
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/27/9B/wKioL1NzY6vBbPuBAANC1L90i0M926.jpg "title=" Qq20140514203155.png "alt=" Wkiol1nzy6vbbpubaanc1l90i0m926.jpg "/>
Code is directly from the http://nodejs.org/official website CP down, in the browser open http://127.0.0.1:1337/, you can see the results
This article is from the "Sky Sea Wide" blog, please be sure to keep this source http://ether007.blog.51cto.com/8912105/1411253