Episode - 01 - Introduction to NodeJS
NodeJS
- official website says Run JS everywhere.
- Its a JS runtime built on chrome's v8 JS Engine.
- IT is a cross-platform means, it can run on any operating systems (windows, linux, MAC).
- NodeJS is open source and maintained by OpenJS foundation.
- NodeJS helps JS execute or run outside of the browser.
- We can not only create servers, we can create lot more thing from it.
- some keyword: event-driven architecture, non-blocking I/O (asynchronous I/O).
History of NodeJS
- NodeJS developed by Ryan Dahl in 2009 - 1st version of it.
- It is so popular even today.
- It also had controversy.
- There was a chance, where NodeJS could have been buried.
- To run a JS, we need JS engine.
- So, wherever u see JS code, there will JS engine to execute that JS code.
- When NodeJS developed function SpiderMonkey is JS engine used which is the Firefox JS engine.
- google chrome has a engine called v8.
- Firefox has SpiderMonkey.
- In just 2 days he, decied to start NodeJS with google v8 engine.
- later on nodejs build with spidermonkey also.
- But official doc, is using Google's v8 engine.
- Company name called Joyent, working on something similar to NodeJS.
- Earlier name of NodeJS was web.js.
- There was a apache server, which is kind of blocky.
- In 2010, NPM happend.
- In 2011, support for Windows os also came up, that was led by Joyent
- MS.
Top comments (0)