当前位置:网站首页>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
边栏推荐
- Expression "func" tSource, object "to expression" func "tSource, object" []
- Lock锁
- AIOT产业技术全景结构-数字化架构设计(8)
- SPC introduction
- Paging the list collection
- 1959年高考数学真题
- 蓝桥杯省一之路06——第十二届省赛真题第二场
- Kingdee Cloud Star API calling practice
- 【PIMF】OpenHarmony啃论文俱乐部—在ACM Survey闲逛是什么体验
- An essay on the classical "tear down the wall in thinking"
猜你喜欢

Grpc gateway based on Ocelot

Detailed explanation of the penetration of network security in the shooting range

groutine

Nodejs reads the local JSON file through require. Unexpected token / in JSON at position appears

Easyexcel reads the geographical location data in the excel table and sorts them according to Chinese pinyin

Idea of batch manufacturing test data, with source code

How vscode compares the similarities and differences between two files

Mock test using postman

Use case labeling mechanism of robot framework

Lock lock
随机推荐
How much do you know about the process of the interview
Public variables of robotframework
groutine
Nifi fast installation and file synchronization
Getting started with JDBC
Pseudo Distributed installation spark
Modify the test case name generated by DDT
◰GL-阴影贴图核心步骤
Generate random numbers with high quality and Gaussian distribution
VLAN高级技术,VLAN聚合,超级Super VLAN ,Sub VLAN
Detailed explanation of file operation (2)
深入了解3D模型相关知识(建模、材质贴图、UV、法线),置换贴图、凹凸贴图与法线贴图的区别
_ Mold_ Board_
Lock lock
Lock锁
英语 | Day15、16 x 句句真研每日一句(从句断开、修饰)
Read a blog, re understand closures and tidy up
Detailed explanation of UWA pipeline function | visual configuration automatic test
Copy constructor shallow copy and deep copy
Collect blog posts