Learn Node.js the right way

Learn Node.js the right way

Node on it’s own is powerful, more powerful than a lot of people might think but writing raw node.js code (without any dependencies) can be a little overwhelming if you’re just starting out. But at the same time it’s adds to your understanding of how many popular npm modules works behind the scenes.

Before learning a new tech stack, people always tend to look up the how easily it solves the problems they’re in. It often helps in getting a better understanding about the technology but in the case of node, this is not entirely true. And the good reason behind the same being, most of the learning resources for node teaches about the technologies and third party modules you use in node (things like express which looks really easy on surface) and not working in node itself, these third party wrappers around node make it look really easy to work with and this reality doesn’t change change by a big magnitude even when people start learning about raw node, it’s not hard but not as easy as the third party modules make it look like either. If i were to imagine myself two years back from now, i was in the same situation. I didn’t realize that i was just learning tons of npm libraries and not node itself until someone pointed that bit out for me. I took a step back and decided to learn the native parts of node as well and I’m really happy that i did.

Node on it’s own is powerful, more powerful than a lot of people might think but writing raw node.js code (without any dependencies) can be a little overwhelming if you’re just starting out. But at the same time it’s adds to your understanding of how many popular npm modules works behind the scenes. After all, the third party modules people work in node are built on top of inbuilt node modules and features itself. Later in this article i will put some ideas about building in raw node.js, but let’s first take a quick look at what exactly is node.

Node in a Nutshell

Simply putting, Node is a non sand-boxed JavaScript runtime environment written in C++. Understanding the C++ part is crucial as it gives us a better idea of how we’re able to interact with OS using node, JavaScript on it’s own cannot interact with the system and do things like opening and listening on ports, using File System and a lot of things you see commonly in node. It’s the runtime environment, that is Node which solves this problem for JavaScript, since C++ do natively supports these feature, it exposes these APIs for the JavaScript it’s running as well. JavaScript in node is interpreted and compiled on the fly with necessary optimization by v8 (which is essentially a JavaScript engine developed by google) to make it run fast and hence the speed node is known for.

Node was built with the idea of making the ultimate server side technology, apparently it didn’t turned out to be the same entirely but it doesn’t change the fact that the tool we have today is probably the best it could have been.

javascript coding nodejs programming software-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

Hire NodeJs Developer

Looking to build dynamic, extensively featured, and full-fledged web applications? **[Hire NodeJs Developer](https://hourlydeveloper.io/hire-dedicated-node-js-developer/ "Hire NodeJs Developer")** to create a real-time, faster, and scalable...

5 Core Criteria for Selecting Software Development Company - TopDevelopers.co

Check out these five criteria for the selection of your software vendor, and you will never regret having the wrong quality product made for you.

Hire Nodejs Developer

Looking to **hire NodeJS Developer**[https://www.dataeximit.com/node-js-development/](https://www.dataeximit.com/node-js-development/ "https://www.dataeximit.com/node-js-development/") to build a perfect back-end to your website or...

Software Developer vs Software Engineer — Differences: Bogus or Real?

In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…