TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What are the major benefits of learning Node.js?

5 pointsby ryhansonabout 12 years ago
The main reason I read everywhere is scaling, performance, etc.<p>Do you use Node.js? If so, what for?<p>I guess my problem is that I am so comfortable with HTML5/CSS3/jQuery and PHP/mySQL, that I find it hard to take the leap to learn all these new libraries and technologies. I have been able to do everything I need to do so far with the languages I know, so convince me why I should learn Node.js and other libraries. I mainly build Web Applications.<p>Thanks!

3 comments

mbehrendtabout 12 years ago
Well first of all it's always a good idea to learn different languages and frameworks. A common point is that learning for instance ruby makes you a better X developer.<p>I'm using Node.js since almost 2 years now besides other technologies like PHP and Ruby. During those 2 years my javascript knowledge and understanding grew a ton compared to just "playing" with jQuery, Backbone etc. Also my understanding for asynchronous code (both javascript and non-javascript) increased a lot.<p>If you don't care about Node.js or don't like javascript (on the server), try Ruby or Python or Scala or whatever. There are so many different and awesome things out there, especially for building web applications. It would be a shame to work with PHP/MySQL all the time.<p>What really kept me in developing Node.js after the first few weeks was the amazing community. Basically everything is Open Source and happens on Github. New development happens basically on a daily basis, really impressive. And there a tons of awesome modules out there, from template engines to testing libraries.<p>So bottom line: I don't need to convince you to try Node.js, but I do want to convince you to try something else (not just in terms of languages and libraries - try different databases like Postgresql, MongoDB, CouchDB etc. as well. Working with MongoDB for more than a year also taught me a lot).<p>Btw: "Scaling" and "performance" doesn't really cut it, since Node.js isn't necessarily faster than other tools, it always depends on the type of application and the developers/admins knowledge.
评论 #5462247 未加载
smileysteveabout 12 years ago
I still prefer PHP / Ruby for a serious application, but, Node JS (Geddy / Express / Meteor / Restify) can make it really quick to set up a prototype UI or API with some Mongo storage.<p>* One Language : If you're going to be using a whole bunch of AJAX or Websocket style long polling, why not keep as much as you can in one language? Might be easier in the future for training.<p>* Event Driven : Because you start expecting events and callbacks, it's a different style of organization that you might confuse when working in more procedurally processed languages (PHP).
评论 #5463218 未加载
gauravkumkarabout 12 years ago
Which big companies or any examples of them who are using node.js, any highly scalable applications, high performance sites ?
评论 #5464907 未加载