Curated from: medium.com
Ideas, facts & insights covering these topics:
9 ideas
·648 reads
6
Explore the World's Best Ideas
Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.
Node.js is a Javascript Runtime built on chrome’s V8 Javascript engine. It uses an event-driven, Non-Blocking I/O model that makes it lightweight and efficient. It can be anything ranging from Reading/Writing local files to making an Http request to an API. I/o takes time and hence blocks other functions, such as printing.
6
97 reads
In the blocking method, user2's data request is not initiated until user1's data is printed to the screen.
6
97 reads
On the other hand, using a non-blocking request, you can initiate a data request for user2 without waiting for the response to the request for user1. You can initiate both requests in parallel.
6
67 reads
Otherwise, here’s a quick step-by-step explanation of how the JavaScript Event Loop works.
7
74 reads
These are libraries built by the awesome community which will solve most of your generic problems. npm (Node package manager) has packages you can use in your apps to make your development faster and efficient.
6
58 reads
Require does three things:
6
54 reads
A Node module is a reusable block of code whose existence does not accidentally impact other code.
6
55 reads
Something that has happened in our app that we can respond to. There are two types of events in Node.
6
72 reads
IDEAS CURATED BY
Learn more about product with this collection
The differences between Web 2.0 and Web 3.0
The future of the internet
Understanding the potential of Web 3.0
Related collections
Similar ideas
7 ideas
7 ideas
3 ideas
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates