Node. Js.

Fecha
26/10/2015-29/10/2015
15:00-20:00

Ubicación
atSistemas - Barcelona


Duración: 20 horas
Horario: De 15 a 20h

Contenidos

Intro to Node.js
· RAM vs. I/O latency
· Blocking vs. Non-Blocking
· Event-driven Programming
· JavaScript Closures
· Event Loop
· Blocking The Event Loop
· Node.js Philosophy (userland vs. core)

Installing Node.js
· Download and Install
· Node REPL
· First Hello World
· References (API docs, Mailing List, etc…)

Modules and npm
· Anatomy of a module
· Private code
· Accessing and using modules
· npm commands
· package.json

The Callback Pattern
· What are callbacks
· Examples
· Callback-last
· Error-first

Event Emitter
· When to use Event Emitters
· Binding Functions to Events
· Examples
· Creating an Event Emitter

Error Handling
· Callbacks: Error-first
· Errors in Event Emitters
· Uncaught Exceptions
· Using Domains

Buffers
· Why Buffers exist
· Creating Buffers
· Reading Buffers
· Writing Buffers
· Manipulating Buffers

Streams
· What are streams
· Read Stream API
· Write Stream API
· Flow Control
· Piping
· Duplex Stream
· Transform Stream

File System
· Disk I/O
· File descriptors
· The path module
· The fs module

TCP
· Networking with TCP
· TCP servers
· Creating connections
· Idle sockets
· Keep alive
· TCP No Delay

HTTP & HTTPS
· Creating an HTTP Server
· HTTP server requests
· Piping requests
· HTTP server responses
· Managing headers

Creating an HTTPS Server
· Making HTTP Requests
· HTTP Client Requests
· Connection: keep-alive
· Managing socket pooling
· Tuning maxSockets
· Terminating requests

UDP
· Datagram sockets
· Why use UDP
· Creating a UDP Server
· Communicating with UDP

Child Processes
· Creating Child Processes
· Types of Child Processes
· Child Process APIs
· Child Process / Parent communication
· Executing external commands

Cluster
· Optimizing multi-processor execution
· Creating Cluster Servers
· Duties of the Master
· Creating Workers
· Managing Workers

  

Los comentarios están cerrados.