没有合适的资源?快使用搜索试试~ 我知道了~
Learning Node Moving to the Server-Side(2nd) 无水印pdf
需积分: 9 8 下载量 73 浏览量
2017-10-05
22:12:39
上传
评论
收藏 13.54MB PDF 举报
温馨提示
试读
288页
Learning Node Moving to the Server-Side(2nd) 英文无水印pdf 第2版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
资源推荐
资源详情
资源评论
Shelley Powers
Learning Node
Moving to the Server Side
SECOND EDITION
Boston Farnham Sebastopol
Tokyo
Beijing Boston Farnham Sebastopol
Tokyo
Beijing
978-1-491-94312-0
[LSI]
Learning Node
by Shelley Powers
Copyright © 2016 Shelley Powers. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editor: Meg Foley
Production Editor: Shiny Kalapurakkel
Copyeditor: Gillian McGarvey
Proofreader: Rachel Monaghan
Indexer: Judy McConville
Interior Designer: David Futato
Cover Designer: Karen Montgomery
Illustrator: Rebecca Demarest
June 2016: Second Edition
Revision History for the Second Edition
2016-05-23: First Release
See http://oreilly.com/catalog/errata.csp?isbn=9781491943120 for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Learning Node, the cover image, and
related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the author have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the author disclaim all responsibility
for errors or omissions, including without limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1.
The Node Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Installing Node 2
Saying Hello to the World with Node 3
A Basic Hello World Application 3
Hello World, Tweaked 6
Node Command-Line Options 10
Node Hosting Environments 11
Hosting Node on Your Server, VPS, or Managed Host 11
Cloud Hosting 11
The Node LTS and Upgrading Node 13
Node’s New Semantic Versioning 13
Upgrading Node 14
Node, V8, and ES6 16
Advanced: Node C/C++ Add-ons 17
2.
Node Building Blocks: Global Objects, Events, and Node’s Asynchronous Nature. . . . . 19
The global and process Objects 20
The global Object 20
The process Object 21
Buffers, Typed Arrays, and Strings 25
Buffer, JSON, StringDecoder, and UTF-8 Strings 28
Buffer Manipulation 30
Node’s Callback and Asynchronous Event Handling 33
The Event Queue (Loop) 33
Creating an Asynchronous Callback Function 36
EventEmitter 39
iii
剩余287页未读,继续阅读
资源评论
yinkaisheng-nj
- 粉丝: 763
- 资源: 6953
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功