Tag: Service non-blocking author str allow ext context org to be motivated
What is Nodejs?
We know that JavaScript is running in a browser, and the browser provides a context for it, allowing JavaScript to parse and execute.
Nodejs can actually understand that it is another context that allows the execution of JavaScript code in the backend (out-of-browser environment) parsing.
Because it uses Google's V8 virtual machine (the context the Google Chrome browser uses), the code can be executed with Veritas.
Nodejs can also be output directly from the console, in addition to displaying the results on the browser side.
Second, what is the characteristic of Nodejs?
The main features of Nodejs are non-blocking, event-driven, single-process. The author of Nodejs said that his goal of creating Nodejs was to achieve a high-performance Web server, and he first valued the advantages of the event mechanism and the asynchronous IO model rather than JS, which is more suitable for lightweight, scalable, real-time data interaction applications. Nodejs built up a lot of objects, such as HTTP,FS, we can use it to build our HTTP server, on the server to develop.
Third,Nodejs installation
The node. JS installation package and source code are: https://nodejs.org/en/download/.
Follow-up will issue the full version
node. JS (one)