Professional Node.js Building Javascript Based Scalable Software.pdf
(
12613 KB
)
Pobierz
PROFESSIONAL NODE.JS®
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxvii
PART I
INTRODUCTION AND SETUP
Installing Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
CHAPTER 1
Introducing Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
CHAPTER 2
PART II
NODE CORE API BASICS
Loading Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
CHAPTER 3
Using Bu ers to Manipulate, Encode, and Decode Binary Data . . . . . . 29
CHAPTER 4
Using the Event Emitter Pattern to Simplify Event Binding . . . . . . . . . . 35
CHAPTER 5
Scheduling the Execution of Functions Using Timers. . . . . . . . . . . . . . . 45
CHAPTER 6
PART III
FILES, PROCESSES, STREAMS, AND NETWORKING
Querying, Reading from, and Writing to Files . . . . . . . . . . . . . . . . . . . . . . 53
CHAPTER 7
Creating and Controlling External Processes . . . . . . . . . . . . . . . . . . . . . . 63
CHAPTER 8
Reading and Writing Streams of Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
CHAPTER 9
Building TCP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
CHAPTER 10
Building HTTP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
CHAPTER 11
Building a TCP Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
CHAPTER 12
Making HTTP Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
CHAPTER 13
Using Datagrams (UDP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
CHAPTER 14
Securing Your TCP Server with TLS/SSL . . . . . . . . . . . . . . . . . . . . . . . . . 139
CHAPTER 15
Securing Your HTTP Server with HTTPS . . . . . . . . . . . . . . . . . . . . . . . . . 149
CHAPTER 16
PART IV
BUILDING AND DEBUGGING MODULES AND APPLICATIONS
Testing Modules and Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
CHAPTER 17
Debugging Modules and Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . 167
CHAPTER 18
Controlling the Callback Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177
CHAPTER 19
Continues
PART V
BUILDING WEB APPLICATIONS
CHAPTER 20
Building and Using HTTP Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
CHAPTER 21
Making a Web Application Using Express.js. . . . . . . . . . . . . . . . . . . . . . 217
CHAPTER 22
Making Universal Real-Time Web Applications Using Socket.IO . . . . 241
PART VI
CONNECTING TO DATABASES
CHAPTER 23
Connecting to MySQL Using node-mysql . . . . . . . . . . . . . . . . . . . . . . . . 267
CHAPTER 24
Connecting to CouchDB Using Nano. . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
CHAPTER 25
Connecting to MongoDB Using Mongoose . . . . . . . . . . . . . . . . . . . . . . . 311
INDEX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
351
PROFESSIONAL
Node.js
®
Plik z chomika:
dobermann
Inne pliki z tego folderu:
Reliable JavaScript How to Code Safely in the Worlds Most Dangerous Language.pdf
(10431 KB)
Ajax Security.pdf
(12743 KB)
JavaScript Programmers Reference.pdf
(3546 KB)
Professional Node.js Building Javascript Based Scalable Software.pdf
(12613 KB)
Java Server Pages (PL).pdf
(3315 KB)
Inne foldery tego chomika:
ActionScript
Ajax
algorytmy
Android
Apache
Zgłoś jeśli
naruszono regulamin