A few questions about node.js


Am I right in thinking that node.js is a "total" development platform, in much the same way as asp.NET, PHP and even classic ASP are?

There seems to be a lot of excitement about node.js which makes me a little nervious about it being yet another "flash in the pan" type technology that will fade away?

If I was going to go about learning node.js have you got any tips how I might start out, without frying my brian?

Problem courtesy of: Strontium_99


As said DmitryR, node.js is a framework of Javascript. It is also based on the V8 engine of Chrome. It is server side based, but can be used for non-internet application too (I m develloping one right now).

What is your goal in learning Node.js?

Create a website

Wrong choice

Create a web app (like a chat)

Good choice

Learning a new language ''for fun''

Good choice too, Node.js is asynchronous and quite easy to learn, even with obscure docs, and can be used for a lot of things. It is also a script, so it don t require to be compiled, but you better be on non-windows os, since node.js for windows can be a pain for devellopement.

If you want tips about where to start, you d better start by understanding asynchronous programming, it s the only "hard" part of this language.

Solution courtesy of: DrakaSAN


There are some interactive ways to learn node.js like:

You can give them a try.

Discussion courtesy of: Disper

Node.js is not a platform for common applications like blogs, etc.
It's for fast async apps like chats, relays, etc

It can be compared to Twisted framework (Python), Tornado framework (Python) or eventmachine framework (Ruby).

Discussion courtesy of: DmitryR

This recipe can be found in it's original form on Stack Over Flow.