Uncover the reasons why node. JS is popular

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

node. JS is a server technology that is used to build and run Web applications similar to what Asp.net,ruby on rails or the spring framework does. It uses JavaScript as the main development language, has a lightweight Web server with its own, and a large number of plugins for node package management (NPM), so you can shape your Web application to your own needs, like adding MVC features, joining a restful service, OAuth or SSL security, and so on. But what causes node. js to be so popular all of a sudden? It sounds like there's a new web development technology, isn't it? Let's summarize why:

re-use of languages

Technologies like ASP. NET or spring require developers to learn a new service-side language, such as C#,VB. NET or Java. and node. JS uses JavaScript on both the server and the client, which means that developers need only use one language at each level.

easy for developers to transform

One of the facts is that JavaScript is a familiar language for Web developers, and most people know JavaScript or how much it is used. So it's easy for a web developer to transition from other technologies to node. js.

Lightweight

node. JS uses the event-driven architecture, which means that everything that is done on it, each separate invocation and operation, is a series of asynchronous callbacks. This allows node. js to run on one thread, which is different from other web technologies, and each client's request will generate a new thread to handle. This is where the nature of non-blocking I/O is.

Support Object Database

It is very common to use object databases such as MongoDB in the node. JS app, which differs from the traditional SQL database by using a document-based model rather than a relational model, which is not a table, but an object like JSON. This is a good fit for ORM enthusiasts.

widely supported by the IDE and the Code Editor

JavaScript has been around for quite some time, so ides like visual Studio,eclipse support JavaScript code hinting and highlighting, as well as notepad++ and sublime This is also supported by code editors such as text.

services can be hosted anywhere

Some Web servers and cloud service providers support node. JS Web applications. Here we say a few, including Google,microsoft Iis,heroku,microsoft Azure,amazon (AWS) and so on.

Recommended reading: Webstorm node. JS Project Configuration Tutorial

Web Development Artifact Webstorm is currently 80 percent discount, (Hpe also has a discount wish, how to discount on their own how to discount.) "The peak of the year-end promotion" Hui "?" Iphone?6? Plus, Iphone?6, IPad? Air is full to send, not quickly buy buy buy! )


Uncover the reasons why node. JS is popular

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.