JavaScript also known as ECMAScript is a cross-platform, object-oriented dynamic programming language. It is a small and lightweight language. Inside a host environment, JavaScript can be connected to the objects of its environment to provide programmatic control over them asynchronously.
JavaScript contains a standard library of objects, such as Array, Date, and Math, and a core set of language elements such as logical operators, control structures, and statements. Core JavaScript can be extended for a variety of purposes by supplementing it with additional objects.
Node.js utilizes the JavaScript language to execute programs. In most common cases you will find Node.js on a server, executing some type of JavaScript code.
Server-side JavaScript extends the core language by supplying objects relevant to running JavaScript on a server. For example, server-side extensions allow an application to communicate with a database, provide continuity of information from one invocation to another of the application, or perform file manipulations on a server.
In other words Node.js
is a set of libraries for JavaScript allowing it to be used outside of the browser. It is primarily focused on creating simple, easy to build network clients and servers.
In 2016, Node.js is definitely moving away from the original idea of just serving web pages. You can find Node.js in some of the hottest startups, to projects that are preparing for the internet of things.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More