Node入门
Node入门
一本全面的Node.js教程
关于本书
本书致力于教会你利用Node.js来开发web应用,过程中会传授你所有所需的高级JavaScript知识
“这是我读过最好的教程之一。此前作为一名Java程序员,我总觉得JavaScript像妖术,但在这教程中,你真的把它讲解的浅显易懂。”
“真的忍不住要感谢你这么好的node入门教程,内容非常精彩。”
“这是为数不多的让我认认真真完整读完的入门教程,只因实在写得太好了”
书籍目录
-
关于
- 状态
- 读者对象
- 本书结构
-
JavaScript与Node.js
- JavaScript与你
- 简短申明
- 服务端JavaScript
- “Hello World”
-
一个完整的基于Node.js的web应用
- 用例
- 应用不同模块分析
-
构建应用的模块
- 一个基础的HTTP服务器
- 分析HTTP服务器
- 进行函数传递
- 函数传递是如何让HTTP服务器工作的
- 基于事件驱动的回调
- 服务器是如何处理请求的
- 服务端的模块放在哪里
- 如何来进行请求的“路由”
- 行为驱动执行
- 路由给真正的请求处理程序
- 让请求处理程序作出响应
- 不好的实现方式
- 阻塞与非阻塞
- 以非阻塞操作进行请求响应
- 更有用的场景
- 处理POST请求
- 处理文件上传
-
总结与展望
Leanpub 无条件、无风险的 100% 保证满意
從付款之後的 60 天內,只要點個兩下,你就可以完成退書並且取回先前支付的全數金額。退書是採用人工作業,因此可能需要花幾天的時間才能完成整個程序。
See full terms.
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them