Why You Should Use Node.js{4}
Node.js is becoming one of the most popular frameworks. The main reason for this is that it takes a language that almost everyone already knows, Javascript, and let’s them use it for server-side scripting. Node focuses on being an event-driven language and emphasis is placed on low-latency and scalability. Unlike other languages such as PHP and Ruby, Node is multi-threaded and can run many simultaneous threads at once, increasing both speed and throughput. This is important because the most time-intensive part of a web application is when the application talks to the database. Instead of doing nothing while waiting for the database response, Node can use its multi-threaded technology to do many other things.
This article provides some great input into why Node.js is becoming so vastly popular. The future of web applications requires that apps be very powerful, be able to support millions of users, and do it all in real time. Those are some of Node.js’ strengths so it may just fit the bill. Big companies such as Twitter has realized Node.js’ power and has switched portions of its infrastructure from Ruby on Rails to Node.js. Likely, other companies will follow suit as the framework matures.
I’ve been a Ruby on Rails supporter for a few years now and have recently discovered Node.js. I’m still fairly new and have built a few “Hello World” type apps and I must say that the fact that it uses Javascript makes the learning curve a whole lot shorter. I like the fact that it takes an existing “language” that we use for client-side scripting and allow us to use it on the server side as well. I know a few Javascript ninjas that don’t know a whole lot of server-side programming. Now, they can do both.
O’Dell, J., (March 10, 2011) Why Everyone Is Talking About Node. Retrieved November 17, 2012 from http://mashable.com/2011/03/10/node-js/
Nov 18, 2012 @ 22:03:31
Great post. I just read another blog about Node.js. Node.js enables developers to create a sync web servers without headaches because users don’t have to think about threads and other concurrency stuff. The underlying language of Node.js, JavaScript, is more and more widespread so more and more people can understand Node.js because they know JavaScript. Thanks for sharing.
Nov 18, 2012 @ 23:35:02
Great post. I recently read an article about just how powerful JavaScript and the tools that make it that much more powerful. I was unfamiliar with Node.js so after reading this post and doing a bit of research, I see the syntax isn’t too foreign. This is a great article choice.
Nov 19, 2012 @ 00:04:47
With so many different frameworks for Javascript out there, Node.js wasn’t something that I was familiar with. I always thought that Javascript was for client-sided scripting too. Speaking of Node.js’s multithreading capabilities, Intel came out with its own Javascript open source engine with parallel computing capabilities. I believe that it is still developing so I don’t know how stable it is.
Nov 19, 2012 @ 00:21:36
Thanks for sharing this article… it is really interesting. I especially liked the examples of Node.js in production, such as with the VOXER walkie-talkie like app. The article mentions how C++ and python couldn’t perform like Node.js did and now it is a working live-voice app. I covered frameworks as well for this weeks blog but Node was not mentioned probably because it referred to the client-side of the web application component. However, after reading this article about its capabilities it further shows the strength of javascript.