Week 10 at JADU learning Node.Js

Saad Farooq
2 min readApr 22, 2021

Here we start the backend development.

Hey guys! So here I am after a small break. Was busy with some life stuff. So, moving on, I am really excited to learn the backend of development.

This week we started Node.js. Wait! I know what you are thinking right now. I also thought of the same question when I heard of it. What exactly is Node.js?

Well, according to Wikipedia: “Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.”

Ryan Dahl first introduced Node.js in 2009 at the annual European JSConf, and after that, it was immediately recognized as “the most exciting single piece of software in the current JavaScript universe”. He was actually aiming to create real-time websites with push capability, “inspired by applications like Gmail”. In Node.js, he gave developers a tool for working in the non-blocking, event-driven I/O paradigm.

Node.js shines in real-time web applications employing push technology over WebSockets. Well, you must be thinking what is so revolutionary about that? Well, after over 20 years of stateless web-based on the stateless request-response paradigm, we finally have web applications with real-time, two-way connections, where both the client and server can initiate communication, allowing them to exchange data freely. This is in stark contrast to the typical web response paradigm, where the client always initiates communication. Additionally, it’s all based on the open web stack (HTML, CSS, and JS) running over the standard port 80. I guess that's too much info xD.

Coming back to our progress. this week we mostly covered the basics like synchronous and asynchronous programming in JavaScript, the APIs, and how to make and use them. Also learned that javascript is a single-threaded language. And for asynchronous programming JavaScript either uses Browser or C++ API’s.

Also learned some advantages of Node.js. Due to this, Node.js plays a critical role in backend development.

Advantages of Node.js

That would be it for today from my side. Thanks for reading. See you in the next blog.

Till then, Take care :)

--

--

Saad Farooq

Fellow at Jadu Full Stack Development Fellowship Program