Is Node.js the most influential server technology of the past decade?

CSDN information 2022-09-23 09:22:01 阅读数:658

node.jsnodejsinfluentialserver

acb2541fb252549c42b27f898ad2ade7.gif

Summary: Node.js is known to have unique advantages that allow many front-end developers who write JavaScript for the browser to write server-side code in addition to client-side code without having to learn a different language.In Node.js, the new ECMAScript standard can be used without issue, and specific experimental features can also be enabled by running Node.js with flags.This article summarizes the influence of Node.js in the past according to a developer in "Is Node.js THE most influential server tech of last decade?".

Organize | Zhu Kexin

Produced | CSDN (ID: CSDNnews)

Before Node.js was born, many developers would use JavaScript to write some browser scripts and dynamic effects, mainly for front-end page interaction.Node.js was born in 2009, and JavaScript began to run not only on the browser, but also on the server, which undoubtedly opened up the front-end and back-end connections.

Node.js is a JavaScript runtime environment based on the Chrome V8 engine.Its emergence has introduced a lot of innovative thinking and methods to JavaScript server-side development, and has helped many developers.

So, what impact did Node.js have?

71798926cc6c86dcba4ce985d789231a.png

What Node.js brings to developers

A developer describes first-hand experience with Node.js in the article "Is Node.js THE most influential server tech of last decade?".When developers don't know how to use technology to develop a proper web service, the experience can be very dull, he said.But when Node.js came along, everything changed.

In the MEAN stack IOT project in 2013, he was tasked with developing a server for REST/Websocket API in Node.js and SPA with Angular.js on the front end.That was the first time he had to develop everything in Javascript.At the time, few developers would have thought of using a toy scripting JavaScript language to develop servers.

Although Node.js was in its infancy at the time, it was possible to create a hello world REST API with a few lines of code in Express.js without having to install any Tomcat / glassfish server.With Socket.IO, a real-time application framework based on Node.js, he created a WebSocket server for the first time with minimal code and understood its workflow.

These revived his interest in back-end software development and saw a lot of things he had never seen before.The developers he worked with were using Node.js within a few weeks.In just a few weeks in 2013, new REST/WebSocket APIs could be developed with session handlers, middleware, people handling REDIS, MongoDB, deployment on AWS.Creating a REST/WebSocket server is no longer a developer-only skill, almost anyone familiar with JavaScript can learn and create APIs and start contributing to backend code.For developers, developing servers has gradually become an easy task.

The author has been using Node.js for almost 9 years now and still loves it, especially Typescript.Node.js had a huge impact in shaping ECMAScript as an IMO language.With the release of ECMAScript 6.0, along with other modern tools like Tslint, Eslint, SSR, Monorepos (NX turborepo), Typescript started to gain traction and ECMAScript got an upgrade.ES 2022 brings all the new and modern features in the language specification, addressing quite a few language flaws.

Overall, the author believes that Node.js has had a huge impact on creating and simplifying server development.

6b1d8bb466739886568ca603bb8e39f2.png

In the future, is the development of Node.js unstoppable?

Today, Node.js allows more front-end developers writing JavaScript to write server-side code in addition to client-side code without having to learn a different language.Therefore, many developers on the Internet are supportive of Node.js:

  • "The democratization of backend development is one of the greatest achievements Node.js has achieved";

  • "The next decade or so belongs to Node.js too";

  • "JavaScript was the only language that could develop front-end, back-end, mobile applications and desktop applications";

  • "The lightweight nature of Node.js gives it an advantage"

However, many developers have a different opinion:

  • "Node.js can't keep up in terms of scalability (especially in terms of multithreading)";

  • "JavaScript will probably never be heavily used in the backend codebases of large enterprise projects. At the rate it evolves, things will change too much";

  • "Node.js is not extensible in CUP bound operations";

  • "JavaScript didn't invent async/await nor make it mainstream".

Whether it is in the past or in the future, the development technology of the server is closely related to the work of the developer.Have you ever touched Node.js?Do you think it is irreplaceable?

Reference link:

  • https://old.reddit.com/r/node/comments/xik2b3/is_nodejs_the_most_influential_server_tech_of/

  • http://nodejs.cn/learn

— Recommended Reading—

* calls for deactivation of C/C++, Microsoft Azure CTO prefers Rust*Huawei mobile phone Mate 50 is on sale, Shuyuan Technology provides 5G communication shell; can run Android APP, Microsoft officially released the first major update of Win 11 | Geek Headlines*Java 19 is officially released, seven major features are released, the most commonly used is Java 11!

a1202bbfdedea5183b25c0ad50a20c0b.jpeg

版权声明:本文为[CSDN information]所创,转载请带上原文链接,感谢。 https://qdmana.com/2022/266/202209230913063288.html