1:node.js is a server-side language based on the Ecmasctipt development that provides many extension objects (without the front-end JS)
Front-end JS:
1.ES Native object: String,number,boolean,math,date,error,function,object,array,regexp
2.bom&dom
3. Custom Objects
node. JS:
1.ES Ost Object
2.node.js Built-in objects
3. A large number of third-party objects
4. Custom Objects
- . node. js can write standalone server applications without the need for other Web servers
The meaning of node. JS:
- Faster execution efficiency than Php/jsp/java
- In one language the same front-end development.
Full stack Engineer
Node. JS Features:
- Single Thread logic processing
- Non-blocking
- asynchronous I/O processing
- Event-driven programming
2.node.js Two modes of operation:
- Interactive mode (for testing): Read user input, perform operations, output execution results, continue to the next loop; Execution Method : Input a line of JS statement, enter the execution
- Script mode (for development): Write all the JS statements to be executed in a separate JS file, a one-time submission to node. JS processing, can not be the file;
node. JS 1