Skip to main content

Posts

Showing posts with the label what is node.js? why we use?

Node.js vs. Ruby on Rails

Why Node.js is more popular than Ruby on Rails and other alternatives? Node.js has ability to handle the thousands of concurrent connections with single process and minimum overhead u sing the JavaScript developed the server applications and networking applications. There are some reasons which people choose Node.js.                     I.             Streaming Data                   II.             A real time applications like online games, collaboration tools and chat rooms etc.                 III.             Great Performance in I/O Processing  ...

Ryan Dahl - Creator of Node.js

Node.js was originally written by Ryan Dahl in 2009. The initial release was supported one and only Linux and initially the great part of developments & maintenance was by Ryan Dahl and after that sponsored by Joyent . Ryan Dahl was inspired by Flickr’s file upload progress bar and latter it created to Node.js.  Now days, Node.js is most popular. References, https://en.wikipedia.org/wiki/Node.js http://venturebeat.com/2012/01/30/dahl-out-mike-drop/

Who uses Node.js?

You can see the below some companies, who are using node right now? a)       Google , b)      IBM, c)       LinkedIn, d)      PayPal, e)       Netflix, f)        Groupon, g)       Uber, h)      GoDaddy etc. I hope it might help you! Thank you!

Where to use Node.js?

The ability to handle the thousands of concurrent connections with single process and minimum overhead using the JavaScript developed the server applications and networking applications. Some highlighted Node.js points are, 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

Features of Node.js

a)        It is an asynchronous and event-driven system. b)        Single-threaded event-driven system c)        It is very   lightweight and fast. d)        Tolling e)        Easy to configure f)         Node never buffering g)        It is highly scalable but single threaded. h)        Safe and secure.

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 ...

81+ Best Free NodeJs Tutorials Learn and Download

NodeJs Interview Questions and Answers Introductions Of NodeJs What is the Node.js? Where to use Node.js? Where not to use Node.js? Who uses it? Features of Node.js Why Node.js is more popular than Ruby on Rails and other alternatives? What is NPM "Node package manager"? Creator of Node.js? REPL Terminal - Read Eval Print Loop Advantages and Disadvantages Useful Resources and First Examples Installing the NodeJs and NPM Installing Node.js on Windows, Mac and Linux Update Node.js and NPM Uninstall Node.js and NPM Useful Resources and Examples The fundamental Concepts of NodeJs Modules Callbacks Events Streams Buffers File System Global Objects Express Framework Restful APIs Packaging NodeJs Error Handling Error-first callbacks Event-Emitter errors Propagating more descriptive errors with the verror module Useful Resources and Examples The debugging of Node.js applications using Node-inspector Useful Resource and Examples Creating a real-ti...

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 ...