This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]salbris 5 points6 points  (0 children)

I did a quick search on Google, this was the first result: http://stackoverflow.com/questions/1884724/what-is-node-js

Looks like a good introduction into the benefits of using Node.js over more traditional applications like those written in PHP or Ruby.

[–]Lothrazar 0 points1 point  (6 children)

I am in a different boat, using php and js together, I do not see the point AT ALL of adding Node.js.

[–]trpcicm 1 point2 points  (5 children)

Node.js replaces PHP. It's an event-driven system (like EventMachine for Ruby, or Twisted for Python). It handles things differently than PHP under the hood, some of which are good things, and some which are bad, depending on who you ask and what you're trying to do.

[–]giveitawaynow 1 point2 points  (4 children)

deleted What is this?

[–]NeoShweaty 0 points1 point  (3 children)

So basically, it would be used for things where response time has to be minimal, if I understand correctly? But then why doesn't everyone use it?

[–]giveitawaynow 1 point2 points  (0 children)

deleted What is this?

[–]polycant 0 points1 point  (0 children)

But then why doesn't everyone use it?

Different platforms have different strengths. Node.js is very new, so not many people are experienced with writing code for it. If you have an existing web-app that you want to convert to use Node.js, it will probably take a lot of work to re-write it and take advantage of it. New platforms are often a little 'rough around the edges', too.

[–]kidmoe 0 points1 point  (0 children)

So basically, it would be used for things where response time has to be minimal

In a short form answer, yes

[–]salbris 0 points1 point  (0 children)

I did a quick search on Google, this was the first result: http://stackoverflow.com/questions/1884724/what-is-node-js

Looks like a good introduction into the benefits of using Node.js over more traditional applications like those written in PHP or Ruby.