开发者

Typical usage of node.js

I am a quite new to node js and have done some homework in reading the docs, building a small app and went through some blogs posts. But now i'm looking for some typical use cases for a node applicati开发者_JAVA百科on.

An example or a scenario will do.

Can someone help me with this?

Thanks.


It's really useful to build APIs that power mobile apps. At i.TV, we created an API with node.js to power our iPhone App that helps people know what's on TV. We use it because it scales really well and it's fun to program in JavaScript :)

LinkedIn chose Node.js to power their mobile app for similar reasons: http://venturebeat.com/2011/08/16/linkedin-node/


See http://corp.klout.com/blog/2011/10/the-tech-behind-klout-com/ or a long list at https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node.

Node.js is stupendous with its single-thread-for-all-connection approach where each packet received is notified as event which is then handle by callback. Basically with node.js, you achieve a high level of concurrency without much multi-threading blues.

Also, when not to use node.js and why - http://comments.gmane.org/gmane.comp.lang.javascript.nodejs/30957.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜