当前位置:网站首页>1-2 characteristics of nodejs
1-2 characteristics of nodejs
2022-04-23 16:58:00 【Endless cake】
NodeJS brief introduction
NodeJS The reason why we think it is a background programming language , Because of the following :
(1) Can be node Install on server
(2) Can be js Put the code on the server , adopt node To execute it. .
Put it another way . In fact, that is node Given js A function of modifying server-side code , So it's not so much node It's a background language , It's better to say js Is a full stack language , It can run in the browser , adopt node It can also run on the server , say js Is a full stack language , Not at all .
NodeJS Advantages and characteristics of being a backstage
(1) NodeJS A single thread
(2) be based on V8 Engine render : fast
(3) Asynchronous non blocking I/O operation
there I/O refer to INPUT and OUTPUT, Reading and writing files .
(4)event-driven Time driven :
JS Run in browser , It can be understood as a front-end development language .
The browser gives JS Provides many global properties and methods . Such as window
front end ( Browser running JS), It's a limitation I/O Operation of the .( Restrictions do not mean there is no )
for example Upload of files , Namely I/O operation . This is just a read , Instead of writing . So the front end is for
Protect customer privacy and customer security , It's a limitation I/O Operation of the .
JS Running on the server node in , It can be understood as a background development language .
node Also give JS Provides many built-in properties and methods . Such as http、url、path And so on api for js operation
node There is no limit in I/O Operation of the .
版权声明
本文为[Endless cake]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230554520328.html
边栏推荐
- Use itextpdf to intercept the page to page of PDF document and divide it into pieces
- MySQL modify master database
- RTKLIB 2.4.3源码笔记
- Regular filtering of Intranet addresses and segments
- MySql主从复制
- PyMySQL
- New project of OMNeT learning
- MySQL restores data through binlog file
- Bytevcharts visual chart library, I have everything you want
- ∑GL-透视投影矩阵的推导
猜你喜欢
扫码登录的原理你真的了解吗?
Getting started with JDBC
How vscode compares the similarities and differences between two files
STM32__ 03 - beginner timer
CentOS MySQL multi instance deployment
Loggie source code analysis source file module backbone analysis
Modify the test case name generated by DDT
Bytevcharts visual chart library, I have everything you want
信息摘要、数字签名、数字证书、对称加密与非对称加密详解
Dlib of face recognition framework
随机推荐
Zhimeng dedecms security setup Guide
Website_ Collection
Blue Bridge Cup provincial road 06 -- the second game of the 12th provincial competition
Nifi fast installation and file synchronization
Expression "func" tSource, object "to expression" func "tSource, object" []
Interface document yaml
Calculation formula related to tolerance analysis
ACL 2022 | dialogved: a pre trained implicit variable encoding decoding model for dialogue reply generation
Introduction to new functions of camtasia2022 software
PyTorch:train模式与eval模式的那些坑
关于局域网如何组建介绍
手写事件发布订阅框架
Sub database and sub table & shardingsphere
org. apache. parquet. schema. InvalidSchemaException: A group type can not be empty. Parquet does not su
Detailed explanation of Niuke - Gloves
Shell script -- shell programming specification and variables
Introduction to how to set up LAN
【PIMF】OpenHarmony啃论文俱乐部—在ACM Survey闲逛是什么体验
Dlib of face recognition framework
PyMySQL