Introduction
NodeJS
NodeJS is a dynamic, cross-platform, open-source and very powerful JavaScript framework and runtime environment that is built on the Google Chrome JavaScript V8 engine. Node.js allows us to run JavaScript on the server, that means it provides an event driven, non-blocking (i.e. asynchronous) I/O and cross-platform runtime environment for building highly scalable server-side applications using JavaScript. It is developed by Ryan Dahl in 2009, was initially implemented as a client-side scripting language. Node.js allows you to run JavaScript on the server.
Why NodeJS
- NodeJS is a dynamic, cross-platform, lightweight, and open-source framework under MIT license.
- It uses JavaScript to build entire server side application.
- It runs on single-threaded, non-blocking, asynchronous programming by default which means it is very memory efficient and loads faster than other frameworks.
What NodeJS can Do ?
- NodeJS can interact with database to generate dynamic page.
- NodeJS can create, open, read, write, delete, and close files on the server.
- NodeJS can add, delete, modify data in database.
- NodeJS can collect form data.