Node.js vs. Ruby on Rails: How They Fare in the Community
Both Ruby and Node.js are gaining a lot of traction but for different reasons, and the ecosystem is a huge factor when comparing the two. That was one of the main points Brilliant.ly Will Nathan made in an article a couple months ago.
On the technical side Nathan notes that Rails has a much better set of built-in functions than Node, but the latter also has its advantages over the framework. The biggest and historically most buzzed-about trait of the language is that it’s based on JavaScript, and as result eliminates some of the hassle of server-side scripting. You can reuse code you wrote for the client side, but that’s only a legitimate consideration when a sizable size of your source code is actually written in JS (and not if it’s merely the output format of a language that compiles to it.)
At the same time, one big consideration is the ecosystem. Rails has been around 4 years longer than Node which was created in 2009, and as a result the core languages had a lot more time to add polish. Rails comes with an entire line-up of tools that Node lacks or hasn’t matched entirely yet, and it’s been field tested much more. Nathan writes:
“Rails, on the other hand, has one of the most robust (and free) sources for libraries and tools. I love The Ruby Toolbox, which actually shows you the relative popularity of Rails tools broken out by function. Additionally, as I mentioned before, many modules that would have to be hand-picked in Node.js are integrated by default in Rails…ayered on top of the modules are more tutorials and examples than one can typically find with node.js. Case in point, Railscast‘s 300+ video tutorials.”
It’s also interested to look at the two frameworks from the adoption perspective. Recently a startup named Nodejitsu rolled out its Node cloud platform into public beta, but at the same time Rails is one of the most popular languages on Github. Last month the source code site, one of the largest ones if not largest of its kind in the world, raised a massive $100 million in funding.
Since you’re here …
… We’d like to tell you about our mission and how you can help us fulfill it. SiliconANGLE Media Inc.’s business model is based on the intrinsic value of the content, not advertising. Unlike many online publications, we don’t have a paywall or run banner advertising, because we want to keep our journalism open, without influence or the need to chase traffic.The journalism, reporting and commentary on SiliconANGLE — along with live, unscripted video from our Silicon Valley studio and globe-trotting video teams at theCUBE — take a lot of hard work, time and money. Keeping the quality high requires the support of sponsors who are aligned with our vision of ad-free journalism content.
If you like the reporting, video interviews and other ad-free content here, please take a moment to check out a sample of the video content supported by our sponsors, tweet your support, and keep coming back to SiliconANGLE.