Is node a server-side language?

藏色散人
Release: 2021-12-08 11:51:39
Original
1758 people have browsed it

Node is a server-side language, but to be precise, it is an open source, cross-platform execution environment that can run JavaScript on the server side, and most of the basic modules of Node.js are written in JavaScript language.

Is node a server-side language?

The operating environment of this article: Windows 7 system, nodejs version 10.16.2, Dell G3 computer.

Is node a server-side language?

Node.js is an open source, cross-platform execution environment that can run JavaScript on the server side.

Node.js is held and maintained by the OpenJS Foundation (formerly the Node.js Foundation, which has merged with the JS Foundation) and is also a project of the Linux Foundation[6]. Node.js uses the V8 execution code developed by Google and uses technologies such as event-driven, non-blocking and asynchronous input and output models to improve performance and optimize the transmission volume and scale of applications. These techniques are typically used in data-intensive real-time applications.

Node.js Most of the basic modules are written in JavaScript language.

Before the emergence of Node.js, JavaScript was usually used as a client-side programming language, and programs written in JavaScript were often executed on the user's browser. The emergence of Node.js enables JavaScript to be used for server-side programming. Node.js contains a series of built-in modules that allow the program to be executed as an independent server without Apache HTTP Server or IIS.

Simply put, Node.js is JavaScript running on the server side.

Node.js is a platform built on the Chrome JavaScript runtime.

Node.js is an event-driven I/O server-side JavaScript environment based on Google's V8 engine. The V8 engine executes Javascript very quickly and has very good performance.

Node.js uses the Google V8 JavaScript engine because:

  • V8 is open source software based on the BSD license

  • V8 is very fast

  • V8 focuses on network functions and is more mature in aspects such as HTTP, DNS, TCP, etc.

Node.js already has numerous There are hundreds of thousands of modules, which can be downloaded for free through a manager called npm. The Node.js development community mainly has two mailing lists and an IRC channel called #node.js on freenode. The community is focused on NodeConf[26][27].

Recommended learning: "Node.js Video Tutorial"

The above is the detailed content of Is node a server-side language?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!