Node JS

Dilshan U.K.T
3 min readMay 15, 2022

In this blog, I’ll share what I’ve learned about NodeJS as well as what I’ve learned from my own personal experience.

About NodeJS

JavaScript code could only be executed in the browser for a long time. On the front end, web developers had to use a different programming language than on the back end. It also meant that, as JavaScript grew more strong and powerful, it remained primarily a front-end language.

Despite various attempts to establish off-browser JavaScript environments, Ryan Dahl’s Node.js, which he invented in 2009, has gained extraordinary popularity and is now used by a few top-tier firms such as Netflix, Uber, PayPal, and eBay. Node.js is a JavaScript runtime environment that lets us run JavaScript code outside of the browser. A “runtime” compiles code written in a high-level, human-readable programming language into code that a computer can understand.

Node was designed with the objective of creating JavaScript web servers and web apps, but it may also be used to create command-line and desktop programs. In this session, we’ll look at some of Node’s capabilities so you can get comfortable executing JavaScript in the Node environment and learn about some of Node’s unique characteristics. Node can be used with a variety of robust frameworks, such as the Express.js framework, to create successful web application back-ends for more complex development.

What is NodeJS?

Node.js is a cross-platform, open-source Java runtime environment. You may use node.js to run the v8 engine, which is at the heart of Google Chrome, outside of the browser. This extends the capabilities of node.js. As a result, it’s commonly used to build web applications with a lot of I/O activities. Another distinguishing characteristic is that node.js applications run as a single process, rather to establishing a new thread for each request. In addition to these benefits, node.js is becoming increasingly popular because it is fully free and open source. I hope the previous points have given you some insight into why you should utilize node.js.

If we’re going to use node.js, we need be aware of its capabilities. Some of capabilities are,

  • Create dynamic web page content
  • Create web applications with a backend
  • Data in the database can be added, deleted, or modified.
  • Package management with npm, jspm, and other tools
  • Collect data from the form
Users of NodeJS

Instead of one major application, Node.js creates multiple smaller ones. It aids with the development of programs that allow for change and the inclusion of additional features.

JavaScript is the most widely used language in the computer industry today since it is the major language for developing applications. All of this adds up to a powerful server revolution. Why stay behind the curve when you can employ NodeJS developers right now and start the revolution?

Advantage of NodeJS

  • Speed & Performance
  • Non-Blocking, I/O
  • Support For Real-Time Applications
  • Unified Database Queries
  • Easy & Fast Coding
  • Open-Source NPM Repository
  • Proxy Server Ability
  • Fast Development Cycle

Disadvantage of NodeJS

  • Reduces performance when handling Heavy Computing Tasks
  • Node.js invites a lot of code changes due to Unstable API
  • Node.js Asynchronous Programming Model makes it difficult to maintain code
  • Choose Wisely — Lack of Library Support can Endanger your Code
  • High demand with a few Experienced Node.js Developers

Please add your comments if you enjoyed this article too 👍.

--

--