Node.js Schulung

Haupt-Reiter

Schulungsprache

Dieser Kurs wird auf Deutsch und Englisch angeboten

Course Code

nodejsdev

Dauer

21 Stunden (usually 3 days including breaks)

Voraussetzungen

Students taking this course should have JavaScript programming experience.

Überblick

Overview

Node.js is a platform for easily building fast, scalable network applications. Learn how to use the event-driven, non-blocking I/O model to build data-intensive real-time applications that run across distributed devices. We will explore the design choices that make Node.js unique, how this changes the way applications are built and how systems of applications work most effectively in this model. Learn how to create modular code that’s robust, expressive and clear. Understand when to use callbacks, event emitters and streams. Use streams to easily manipulate data that would be impossible to fit in application memory. Gain confidence in handling errors effectively to ensure runtime reliability. The course has extensive lab exercises to reinforce the concepts and techniques covered.

Objectives

On completion of this course, students will be able to:

  • Clearly understand the platform design choices that led to Node.js choosing an event loop and what this means for applications built on that foundation.
  • Understand the unique trade-offs present in event-driven programming.
  • Create Node.js modules and express code modularity in an application.
  • Understand the core flow control patterns in Node.js and know when it is appropriate to use callbacks, event emitters or streams.
  • Create and manipulate buffers efficiently.
  • Understand how to manage error state and know when a process should exit due to an error.
  • Build network applications with Node.js.

Schulungsübersicht

Intro to Node.js

  • RAM vs. I/O latency
  • Blocking vs. Non-Blocking
  • Event-driven Programming
  • Event Loop
  • Blocking The Event Loop
  • Node.js Philosophy

Installing Node.js

  • Download and Install
  • Node REPL
  • First Hello World

Modules and npm

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

The Callback Pattern

  • What are callbacks
  • Callback-last
  • Error-first

Events

  • When to use Event Emitters
  • Binding Functions to Events
  • Event Requests
  • Event Listening

Error Handling

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

Buffers

  • Why Buffers exist
  • Creating Buffers
  • Reading and Writing Buffers
  • Manipulating Buffers

Streams

  • What are streams
  • Read and Write Stream API
  • Flow Control
  • Piping
  • Duplex Stream
  • Transform Stream

Express.js

  • Intro and Installing Express.js
  • Building a Hello Express application
  • Creating routes
  • Rendering Layouts
  • Using templates
  • Adding partials
  • Using locals and conditional templates
  • Modularizing routes

Socket.io

  • Listening for
  • Broadcasting
  • Answering questions

Connecting to Databases

  • No SQL and Document Stores
  • Relational DBs

Public Classroom Public Classroom
Teilnehmer aus verschiedenen Organisationen. Die Themen können hier nicht angepasst werden.
Von 4760EUR
Request
Private Classroom Private Classroom
Die Teilnehmer sind aus einem Unternehmen. Externe Teilnehmer sind nicht erlaubt. Der Kurs ist speziell auf eine Gruppe zugeschnitten, Die Themen werden genau auf die Bedürfnisse der Teilnehmer abgestimmt.
Von 4760EUR
Angebot erfragen
Private Remote Private Remote
Der Anleiter und die Teilnehmer befinden sich an unterschiedlichen Orten und kommunizieren über das Internet miteinander.
Von 4110EUR
Angebot erfragen
Selbststudium Selbststudium
Das Selbststudium ermöglicht es Ihnen von Zuhause aus zu lernen. Vielfältige Materialien, wie Videos, Texte und Selbsttests stehen Ihnen dafür zur Verfügung.
Kein Angebot vorhanden
Register Interest

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom Private Classroom Private Remote
1 4760EUR 4760EUR 4110EUR
2 2900EUR 2875EUR 2550EUR
3 2280EUR 2247EUR 2030EUR
4 1970EUR 1933EUR 1770EUR
Cannot find a suitable date? Choose Your Course Date >>
Zu teuer? Schlagen Sie einen Preis vor >>

Verwandte Kategorien


Spezialangebote

Course Ort Schulungsdatum Kurspreis (Fernkurs/Schulungsraum)
Apache Camel Basel Mo, 2016-06-27 08:00 2940EUR / 3440EUR
Excel für Fortgeschrittene mit VBA Basel Mo, 2016-10-24 09:30 1500EUR / 2150EUR

EINIGE UNSERER KUNDEN