Language vs Framework
At the start of the college, Coding is quite simple, we have libraries(stdio.h, if you used C in college), variables, for loops, if conditions, functions, etc. But as we start knowing and learning more we are introduced to the new keyword ?Framework?.
What is this Framework? Don?t we already have too much to understand and learn that this new terminology is introduced to create confusion? Let?s understand this by an example first.
Everybody knows about Hindi & Devanagiri correct? So as we know Devanagiri is a ?lipi? to write Hindi(Indian Language) & some other languages. Devanagiri defines the set of rules and the manner of writing in which Hindi is written. While in Hindi we have pre-defined keywords(made by Hindi alphabets ? ? ? ? ? ?) to use by which we communicate.
A software framework (be it front-end or backend) includes standardized, pre-written code, which makes the development of certain functionalities easier and faster. You have less freedom to code, as you have to code as the framework architecture dictates. :- DZone.com
There are two types of language, Programming language & Scripting Language. Programming language needs a compiler to compile the code whereas scripting language requires the interpreter to execute code in run time without compiling. So basically we need a compiler or interpreter to execute a program.
So, the original idea of node.js was to be able to set up a web service or a TCP server really fast. You could, and still can, just copy a code snippet, put it in a js file and then run it with node, and you will have a server. Yeeee!