Skip to main content

Posts

Showing posts with the label node.js interview questions and answers

Node.js Advantages and Disadvantages

Advantages:- a)       Single Page Applications b)      Streaming Data c)       A Real-time Applications like online games, collaboration tools and chat rooms etc. d)      I/O bound Applications e)       APIs based Applications f)        JSON based Applications g)       PROXY Applications Disadvantages:- a)       Nested callback hell. b)      In Node.js, any CPU intensive computation will block the responsiveness. c)       Dealing with files can be a bit of a pain. d)      In Node.js, the relational database is a bit of a pain. e)       It's asynchronous programming model not for synchronous model. For more, http://www.code-sample.com/2015/04/what-is-node-s-why-we-use.html ...

65 Best NodeJs Interview Questions and Answers

1) What is Node.js? Node.js is a JavaScript run-time built on Chrome's V8 JavaScript engine. Nodejs is an open-source , cross-platform and JavaScript run-time environment. It is a lightweight framework used to develop server-side web applications. Node.js is built upon Google Chrome’s V8 run-time —written in C++ , built for multiple operating systems and super fast. The use of JavaScript also means that transforming JSON data —the most common data interchange format on the Web—is fast by default. Node.js used for creating large scale application development, mostly used for video streaming websites, single page application, and other web applications. Setup a Node.js Development Environment on Windows, Mac and Linux - It is easy to  install Node.js  on  Mac ,  Windows  and  Linux . Simply you can go to  Node.js  official site and download you installer (Mac, Windows and Linux), and then execute the installer as per ...