Why is Node. js so popular? Why is Node. js popular? Why is node. js popular?

Source: Internet
Author: User
Tags ruby on rails microsoft iis

Why is Node. js so popular? Why is Node. js popular? Why is node. js popular?

Node. js is a server technology used to build and run Web applications, which is similar to the work done by ASP. NET, Ruby on Rails or Spring framework. It uses JavaScript as the main development language. It has a lightweight Web server and a large number of plug-ins for Node package management (NPM, you can create Web applications as needed, such as adding MVC features, adding Restful services, OAuth, or SSL security.

Repeated use of languages

A technology like ASP. NET or Spring requires developers to learn a new server language, such as C #, VB. NET or Java. Node. js uses JavaScript on both the server and client, which means developers only need to use one language at each layer.

Easy developer Transformation

The fact is that JavaScript is a well-known language for Web developers. Most people know JavaScript or how many times they have used it. Therefore, it is very easy for a Web developer to transform from other technologies to Node. js.

Lightweight

Node. js uses the event-driven architecture, which means that everything and every independent call and operation on it are a series of asynchronous callbacks. This makes Node. js run on one thread, which is different from other Web technologies. Each client request generates a new thread for processing. This is exactly the essence of non-blocking I/O.

Support for object databases

In Node. it is very common to use object databases such as MongoDB in js applications. Unlike traditional SQL databases, MongoDB uses document-based models rather than relational models, it uses objects like JSON instead of tables. This is suitable for those who love ORM.

Widely supported by IDE and code editor

JavaScript has been around for a long time. Therefore, IDES such as Visual Studio and Eclipse support JavaScript code prompts and highlighting, in addition, code editors such as NotePad ++ and Sublime Text also support these features.

Services can be hosted anywhere

Some Web servers and cloud service providers support Node. js Web applications. Here are a few examples, including Google, Microsoft IIS, Heroku, Microsoft Azure, and Amazon (AWS.

The above is the reason why node. js is so popular. If you have any omissions, please correct them.

Node. js is a powerful developer ~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.