Home  >  Article  >  Web Front-end  >  Is nodejs a js framework?

Is nodejs a js framework?

藏色散人
藏色散人Original
2019-05-20 10:52:543722browse

Node.js is an application framework, sometimes called a runtime environment, through which applications are built using the JavaScript programming language; Node.js is known for its speed because it is non-blocking , non-blocking means that one request does not wait for another request to complete.

Is nodejs a js framework?

Node.js is an application framework, sometimes called a runtime, through which applications can be built using the JavaScript programming language . Node.js is known for its speed because it is non-blocking. Non-blocking means that one request does not wait for another request to complete (that is, asynchronous). This feature of asynchronous makes Node.js the most throughput framework currently, while Java application servers usually block every request bound to a thread, and as long as no more threads are available, the server stops receiving requests.

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 is a development platform that allows JavaScript to run on the server side. It makes JavaScript a scripting language on par with server-side languages ​​such as PHP, Python, Perl, and Ruby. Released in May 2009 and developed by Ryan Dahl, it essentially encapsulates the Chrome V8 engine.

Node optimizes some special use cases and provides alternative APIs to make V8 run better in non-browser environments. The V8 engine executes Javascript very quickly and has very good performance. Node is a platform built on the Chrome JavaScript runtime, used to easily build web applications that are responsive and easy to expand. Node uses an event-driven, non-blocking I/O model to be lightweight and efficient, making it ideal for running data-intensive real-time applications on distributed devices.

The above is the detailed content of Is nodejs a js framework?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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