Tamil What is Node.js Exactly? - A Beginners Introduction to Nodejs | InterviewDOT

  Рет қаралды 20,979

Interview DOT

Interview DOT

Күн бұрын

Click here - / @interviewdot to get notifications.
NodeJS : As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications.
Node.js is an open-source and cross-platform JavaScript runtime environment. It is a popular tool for almost any kind of project!
Node.js runs the V8 JavaScript engine, the core of Google Chrome, outside of the browser. This allows Node.js to be very performant.
A Node.js app is run in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm.
When Node.js needs to perform an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.
This allows Node.js to handle thousands of concurrent connections with a single server without introducing the burden of managing thread concurrency, which could be a significant source of bugs.
Node.js has a unique advantage because millions of frontend developers that write JavaScript for the browser are now able to write the server-side code in addition to the client-side code without the need to learn a completely different language.
In Node.js the new ECMAScript standards can be used without problems, as you don't have to wait for all your users to update their browsers - you are in charge of deciding which ECMAScript version to use by changing the Node.js version, and you can also enable specific experimental features by running Node.js with flags.
Believe it or not, Node.js is just 9 years old.
In comparison, JavaScript is 23 years old and the Web, as we know it (after the introduction of Mosaic), is 25 years old.
9 years isn't a very long time in tech, but Node.js seems to have been around forever.
I've had the pleasure to work with Node.js since the early days when it was only 2 years old, and despite the limited information in the wild, you could already feel that it was going to be a huge thing.
In this post, we draw the big picture of Node.js in its history, to put things in perspective.
A little bit of history
JavaScript is a programming language that was created at Netscape as a scripting tool to manipulate web pages inside their browser, Netscape Navigator.
Part of the business model of Netscape was to sell Web Servers, which included an environment called Netscape LiveWire that could create dynamic pages using server-side JavaScript. Unfortunately, Netscape LiveWire wasn't very successful and server-side JavaScript wasn't popularized until recently, by the introduction of Node.js.
One key factor that led to the rise of Node.js was the timing. Just a few years earlier, JavaScript had started to be considered as a more serious language, thanks to "Web 2.0" applications (such as Flickr, Gmail, etc.) that showed the world what a modern experience on the web could be like.
JavaScript engines also became considerably better as many browsers competed to offer users the best performance. Development teams behind major browsers worked hard to offer better support for JavaScript and find ways to make JavaScript run faster. The engine that Node.js uses under the hood, V8 (also known as Chrome V8 for being the open-source JavaScript engine of The Chromium Project), improved significantly due to this competition.
Node.js happened to be built in the right place and right time, but luck isn't the only reason why it is popular today. It introduces a lot of innovative thinking and approaches for JavaScript server-side development that has already helped so many developers.
You could search also using these words to learn more about nodejs.
app engine nodejs
dockerize node app
node express app
npm
node js w3schools
nodejs
javascript node
server node
ndoe js
docker node app
node js desktop app
nodejs kubernetes
nodejs online
node app
nodejs development company
react node js
docker node js development
node js web server
node js interview
simple node js app
node js application
node js web application
node js web app

Пікірлер: 40
@JeevaFandom
@JeevaFandom 11 ай бұрын
Enku mattum tha sound kekalaya?
@mdharoonh
@mdharoonh 2 жыл бұрын
Great explanation for beginners, Thank you
@ishuslifestyle3474
@ishuslifestyle3474 2 жыл бұрын
Mike use pani pesuga bro.. Suthama sound ah illa 🔊😢
@InterviewDOT
@InterviewDOT 2 жыл бұрын
sure Thanks a million for your excellent feedback, if you not yet subscribed kindly subscribe to InterviewDOT channel for latest software updates - happy learning - InterviewDOT
@ajithkumarp4697
@ajithkumarp4697 3 жыл бұрын
Simple and superb bro
@InterviewDOT
@InterviewDOT 3 жыл бұрын
Thanks a million for your excellent feedback, if you not yet subscribed kindly subscribe to InterviewDOT channel for latest software updates - happy learning - InterviewDOT
@RajeshSriMuthu
@RajeshSriMuthu 4 жыл бұрын
Dear bro, Single thread handling all request means, innum slow dan aagum. I read about it in internet but still not getting how it is efficient. Can you explain. What is Non blocking or asynchronous IO in working in nodejs?
@InterviewDOT
@InterviewDOT 4 жыл бұрын
Yes! you heard it right, Node is single threaded and it is doing magical things with this model. Some of the popular server side technology like PHP, ASP.NET, Ruby & Java Servers all follow Multi-threaded where each client request results in the instantiation of a new thread or even a process, but Node. js, requests are run on the same thread with even shared resources. All Node JS applications uses “Single Threaded Event Loop Model” architecture to handle multiple concurrent clients. So Yes NodeJS is single threaded, but this is a half truth, actually it is event-driven and single-threaded with background workers. The main event loop is single-threaded but most of the I/O works run on separate threads, because the I/O APIs in Node.js are asynchronous/non-blocking by design, in order to accommodate the event loop. Non-blocking na whenever there is a remote call or file access call, the thread will not be blocked rather thread will start process the other request.
@InterviewDOT
@InterviewDOT 4 жыл бұрын
My understanding is nodejs is efficient because of asynchronous / non blocking.
@balamurugankannan1439
@balamurugankannan1439 2 жыл бұрын
nice explanation
@yaseenimuhammadraja9461
@yaseenimuhammadraja9461 2 жыл бұрын
Best and Great tutorial sir 👍👌👌. Enaku oru doubt, Nodejs I/O asynchronous nu soldranga, Asynchronous apdina, network use pani data get pannumbodhu adutha line um execute aagum. Idhanala dhan idhu fast nu soldranga. But Async/await use panradhuku purpose, data eduthutu varra varaikum wait panu, adutha line ah run pannakudaadhu. Indha madhiri situation la asynchronous concept theavai illangara madhiri theriyudhea, Adhuku Synchronous concept apdiyea irukalamea. Pls explain panunga sir. Question wrong ah ketrundha pls explain what goes wrong. I am waiting for your quick reply. Thank you so much
@aroops
@aroops 4 жыл бұрын
Thanks for the video Nanba 👍
@InterviewDOT
@InterviewDOT 4 жыл бұрын
Dear Aroop, Thanks a lot for your valuable feedback, I am happy that it helped you, happy learning - InterviewDOT
@mech048logeswaranvaleeswar4
@mech048logeswaranvaleeswar4 Жыл бұрын
Bro what kind of video this? Is it is a software 🤔
@mech048logeswaranvaleeswar4
@mech048logeswaranvaleeswar4 Жыл бұрын
Short ahh understand pandra mari solunga
@venkateswaran8752
@venkateswaran8752 4 жыл бұрын
great explanation bro
@InterviewDOT
@InterviewDOT 4 жыл бұрын
Dear Venkateswaran, thanks a lot for your valuable feedback, I am really happy that it helped you, happy learning InterviewDOT 👍
@jerrytech1901
@jerrytech1901 4 жыл бұрын
Bro gud detail but voice mattu increase pannuga
@InterviewDOT
@InterviewDOT 4 жыл бұрын
Thanks a lot Jerry Louis, I have tested before the release both in mobile and computer, not sure the volume is less, will check it, could you please let me know what device did you used to watch it thanks InterviewDOT
@jerrytech1901
@jerrytech1901 4 жыл бұрын
@@InterviewDOTmoto g2 bro I use multiple headset also but sound is still down...
@sivaoutstrip
@sivaoutstrip 4 жыл бұрын
Thanks for the video
@InterviewDOT
@InterviewDOT 4 жыл бұрын
Dear Siva, Thanks a lot for your excellent feedback, I am really happy that it helped you - happy learning - InterviewDOT
@tamilarasan9784
@tamilarasan9784 2 жыл бұрын
Hello Bro audio is very Low
@mgbhadurudeen336
@mgbhadurudeen336 2 жыл бұрын
sound voice clear a illa.
@manojmurugan590
@manojmurugan590 7 ай бұрын
Thanks bro❤
@InterviewDOT
@InterviewDOT 7 ай бұрын
Welcome 😊
@akaza7613
@akaza7613 Жыл бұрын
Mass ❤️🫂🤲
@rtr8463
@rtr8463 2 жыл бұрын
Voice low iruku bro
@Venkat_Raja
@Venkat_Raja 9 ай бұрын
Simple Explanation: JavaScript like html in Broswers Node.Js like PHP in server
@InterviewDOT
@InterviewDOT 8 ай бұрын
Thanks a lot for your valuable feedback Venkat Raja , happy learning
@Senthil-Web-Designer
@Senthil-Web-Designer 4 жыл бұрын
Good. But your voice very low increase in next video.
@InterviewDOT
@InterviewDOT 4 жыл бұрын
Dear J P Senthil Kumar, thanks for your valuable feedback,sure will check the audio level, before releasing I checked it,how did you watch ? Mobile or Laptop ?
@aravindan6061
@aravindan6061 3 жыл бұрын
Mobile
@Senthil-Web-Designer
@Senthil-Web-Designer 3 жыл бұрын
@@InterviewDOT laptop
@VASANTHKUMARULAGANATHAN
@VASANTHKUMARULAGANATHAN Жыл бұрын
Audi is too low
@LearningpathIT-mt4ye
@LearningpathIT-mt4ye 8 ай бұрын
Copy from mosh 👏
@utube4428
@utube4428 2 жыл бұрын
Please speak loud .
@aravindan6061
@aravindan6061 3 жыл бұрын
Konjam sathama sollunga bro
@InterviewDOT
@InterviewDOT 3 жыл бұрын
Sorry about that brother , in recent videos improved the quality - kindly check the videos if you like it please subscribe to InterviewDOT channel for latest software updates. InterviewDOT
@cedriccedric6385
@cedriccedric6385 2 жыл бұрын
Sathamaa thaan pesungalen....
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 645 М.
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 97 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 49 МЛН
What is Redis and What Does It Do?
6:47
CBT Nuggets
Рет қаралды 256 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 176 М.
GraphQL vs REST: Which is Better for APIs?
7:31
IBM Technology
Рет қаралды 199 М.
How Node JS Works?
9:11
Telusko
Рет қаралды 204 М.
What is npm & package.json & Dependencies in Tamil
21:24
UI Gems (React.js, Angular, Front end interview)
Рет қаралды 10 М.
What is SRE | Tasks and Responsibilities of an SRE | SRE vs DevOps
24:25
TechWorld with Nana
Рет қаралды 323 М.
How WebHook works | System Design
7:43
ByteMonk
Рет қаралды 85 М.