Node.js. It’s the latest in a long line of “Are you cool enough to use me?” programming languages, APIs, and toolkits. In that sense, it lands squarely in the tradition of Rails, and Ajax, and Hadoop, and even to some degree iPhone programming and HTML5.
Dig a little deeper, and you’ll hear that Node.js (or, as it’s more briefly called by many, simply “Node”) is a server-side solution for JavaScript, and in particular, for receiving and responding to HTTP requests. If that doesn’t completely boggle your mind, by the time the conversation heats up with discussion of ports, sockets, and threads, you’ll tend to glaze over. Is this really JavaScript? In fact, why in the world would anyone want to run JavaScript outside of a browser, let alone the server?
The good news is that you’re hearing (and thinking) about the right things. Node really is concerned with network programming and server-side request/response processing. The bad news is that like Rails, Ajax, and Hadoop before it, there’s precious little clear information available. There will be, in time — as there now is for these other “cool” frameworks that have matured — but why wait for a book or tutorial when you might be able to use Node today, and dramatically improve the maintainability.
0 有用 霏昀 2011-09-11 11:06:10
10页的短文。作者指出node是为只读的小数据大并发的场景准备。其论据集中在node对json的原生支持以及其事件驱动的单线程并发请求处理模型。这个解说还算自洽地说明了node对比helma和jaxer的不同。但不清楚这个场景是否是node团队的目标场景。在线阅读:http://radar.oreilly.com/2011/07/what-is-node.html
0 有用 Yan 2011-09-07 16:38:54
依然是短篇入门电子书。对于 node 的使用场景阐述得更加客观。
0 有用 [已软注销] 2011-09-20 14:38:46
竟然只有10页。。网上下的,还以为只是预览版本
0 有用 络绎很无聊地 2016-01-29 14:18:31
为什么这是一本书?……
0 有用 xiaohanyu 2015-01-03 14:50:13
竟然只有 10 页……
0 有用 ReidHolmes 2016-10-01 10:30:22
十页的小书。😂😂😂😂😂
0 有用 络绎很无聊地 2016-01-29 14:18:31
为什么这是一本书?……
0 有用 一代天椒 2015-11-17 12:25:19
10页的书。。。
0 有用 xiaohanyu 2015-01-03 14:50:13
竟然只有 10 页……
0 有用 二把刀程序员 2013-10-27 15:33:22
如果你刚开始学习 NodeJS, 这本书不仅做了精简的介绍,而且告诉你 Node 为什么这么重要和受欢迎。作者的思路不是从 Javascript 的角度去理解 Node,而从网络编程的基本需要出发,希望能启示其他读者,这也是我标记4星的理由