Node.js实战 - [美] Mike Cantelon

Node.js实战

[美] Mike Cantelon

出版时间

2014-05-01

ISBN

9787115352460

评分

★★★★★
书籍介绍

服务器端JavaScript?没错。Node.js是一个JavaScript服务器,支持可伸缩的高性能Web应用。借助异步I/O,这个服务器可以同时做很多事情,能满足聊天、游戏和实时统计等应用的需求。并且既然是JavaScript,那你就可以全栈使用一种语言。

本书向读者展示了如何构建产品级应用,对关键概念的介绍清晰明了,贴近实际的例子,涵盖从安装到部署的各个环节,是一部讲解与实践并重的优秀著作。通过学习本书,读者将深入异步编程、数据存储、输出模板、读写文件系统,掌握创建TCP/IP服务器和命令行工具等非HTTP程序的技术。本书同样非常适合熟悉Rails、Django或PHP开发的读者阅读学习。

本书主要内容:

Node.js及其扩展的安装配置;

全面理解异步编程和事件循环;

学会开发微博、聊天和游戏等热门应用。

AI导读
核心看点
  • 深入解析异步编程与事件循环机制
  • 涵盖从安装配置到部署的全流程实战
  • 构建聊天室等数据密集型实时应用
适合谁读
  • 希望全栈使用JavaScript的开发者
  • 熟悉Rails或Django的后端工程师
  • 寻求Node.js入门及实战的初学者
读前提醒
  • 内容容量大,部分知识点讲解较简略
  • 章节组织顺序略显混乱,需耐心梳理
  • 建议结合官方文档补充语法细节学习
读者共识
  • 实战性强,是快速了解Node生态好书
  • 多位作者合著,视角全面但风格不一
  • 适合入门,能补上Node.js关键一课

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "once a development need has been identified, the community generally self-organizes to take care of it."
  • "Node is also huge on streams and streaming. You can think of streams like arrays but instead of having data distributed over space, streams can be thought of as data distributed over time. By bringing data in chunk by chunk, the developer is given the ability to handle that data as it comes in inste"
  • "Request list of rooms available intermittantly"
  • "What makes formidable a great choice for handling file uploads is that it’s a streaming parser, meaning it can accept chunks of data as they arrive, parse them, and emit specific parts, such as the part headers and bodies previously mentioned. Not only is this approach fast, but the lack of bufferin"
  • "Node is a platform for JavaScript applications which is not to be confused with a framework. It is a common misconception to think of Node as "Rails" or "Django" for JavaScript when it is much lower level. Although if you are interested in frameworks for web applications, we will talk about a popula"
  • "Node的核心是一个强大的流式HTTP解析器,大概由1500行经过优化的C代码组成,是Node的作者Ryan Dahl写的。"
  • "At the core of Node is a powerful streaming HTTP parser consisting of roughly 1,500 lines of optimized C,written by author of Node, Ryan Dahl."
作者简介
作者简介: Mike Cantelon Node.js核心框架贡献者、Node社区活跃分子、资深培训师和演讲人。 Marc Harter Node.js核心框架贡献者。 T.J. Holowaychuk 参与开发了很多Node.js模块,包括流行的Express框架。 Nathan Rajlich 大名鼎鼎的TooTallNate,Node.js核心代码提交者。 译者简介: 吴海星 2001年毕业于南京理工大学。编程数载代码不过几十万,翻译几年码字不过几百万。项目不过十几个,带队不到五十人。年过而立,惴惴不安,愈加发奋,孜孜求学,愿凭绵薄之力,贡献于IT社区。
目录
第一部分 Node基础
第1章 欢迎进入Node.js世界  2
1.1 构建于JavaScript之上  3
1.2 异步和事件触发:浏览器  4
1.3 异步和事件触发:服务器  5

显示全部
用户评论
其实有更新的书可以看,当然这本也可以读一读。
相当不错的一本书,整个Node的生态介绍的非常完整,大致让你了解与学会整个Node技术栈,作为Node入门不可多得的好书。
非常适合入门
清晰明白
还行吧,看了之后基本对nodejs就算入门了。后三分之一的内容有点杂。
粗略翻了一遍,质量可以的,该有的都有。这本书把我目前接触的琐碎概念都整合了起来,给了我一个知识框架,这是本书最强大的功能。
basic
迅速的扫了一遍,讲的很全,但也很泛
书讲得很浅,但忘不了两年前第一次从node接触操作系统API的兴奋感,完全打开了新世界。
下载
收藏