I love JS (bet you have heard that several times before). So I have written some web apps (mostly in NodeJS), made things work, but I only know how to glue things together. As in, I can lookup for my required libraries on npmjs and glue them all together to work.
What now I am more interested in, is to learn how things actually work, the underlying theory.
I keep hearing some buzz words in Node community which I have no clue what they are but just know how to work with them.
So, I would really appreciate if someone can help begin with learning the theory behind NodeJS.
jimoh hadi
Software Engineer
NodeJS mirrors how JavaScript runs on the browser using a specific JavaScript engine (Chrome V8 engine). On top of that, it adds some features that makes it run on the server. If you really want to know how NodeJS works, start from understanding how JavaScript runs on the browser. In other words, How the browser uses the JavaScript engine (i.e V8 Engine which NodeJS is built on top of), Event Loop, Event Queue and Job Queue to execute JavaScript codes. This will just give you the high-level overview of how JavaScript works, but it will aid you a lot in understanding how NodeJS works. There are tons of blogs, articles, and videos out there in google that discuss this. You just have to use the right word, i.e "How does javascript work in the browser with event queue and V8 engine" and you would have your answers. Hope this helps!