About node. js
node. JS is a JAVASCRIPT runtime environment based on the Chrome V8 engine.
node. JS uses an event-driven, non-blocking I/O model to make it lightweight and efficient.
node. JS's Package Manager, NPM, is the world's largest open source library ecosystem.
JavaScript is incredibly powerful in web programming, but because it is limited to clients, it always requires a backend language (such as. NET PHP JAVA ASP) to do some application software.
and node. JS can say that JavaScript runs on the server, which means that you just need to be able to write JavaScript on both front and back.
and node uses non-blocking libraries to support event loops, essentially providing interfaces for resources such as file systems and databases. When sending a request to the file system, there is no need to wait for the hard drive (addressing and retrieving the files) and the non-blocking interface notifies node when the hard disk is ready. The model simplifies access to slow resources in an extensible way, intuitive and understandable.
Because some developers are unfamiliar with Linux, configuring the installation requires writing some commands, so this article describes another way. Using IIS as a Web server under Windows, use Microsoft's development tools WebMatrix to create and develop nodejs sites. This way is very silly. Download-Install-ready.
The first step:
Download and install Nodejs
https://nodejs.org/en/download/
Step Two:
Download and install Iisnode
Https://github.com/tjanczuk/iisnode/wiki/iisnode-releases
Step Three:
Download and install Url-rewrite
The author in the installation due to the reason of the system IIS need to pay attention to the version, it is not possible to go to the Microsoft Web platform to install Url-rewrite (I was installed from the Microsoft Web platform)
Https://www.iis.net/downloads/microsoft/url-rewrite
Fourth Step
Download Microsoft's Development tools WebMatrix
https://www.microsoft.com/web/webmatrix/
Fifth Step
After the three-step installation in turn, open the installation of the fourth Step Download development tool WebMatrix.
Then new-Create a site from the template Gallery-node.js
The first time you create the express template you need to download, complete
Then you'll see the project catalog.
Click on the top left corner to run the effect:
That's all for now. Write a program, and so on some of the things to explore the first not to be a spoiler ~
Nodejs+iis+webmatrix