Node.js

Základní info

Popis kurzu

This course will start off by teaching you the basics of Node.js and its core modules. You will then learn how to import additional modules and configure your project using npm. From there, you will learn how to use Express to set up a web server and how to interact with a MongoDB database using Mongoose. By the end of the course you will have created several real-world projects such as a web scraper, a blogging API, and a database migration script.


This course will start off by teaching you the basics of Node.js and its core modules. You will then learn how to import additional modules and configure your project using npm. From there, you will learn how to use Express to set up a web server and how to interact with a MongoDB database using Mongoose. By the end of the course you will have created several real-world projects such as a web scraper, a blogging API, and a database migration script.

Obsah kurzu


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


Node.js Platform Setup



  • 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

  • Configuration and platform setup

  • CRUD Operations


Studijní materiály

V angličtině

Node.js

Vybraný termín:

26.4.2021  Online

Cena
25900 Kč + 21 % DPH

Kontaktovat dodavatele


Kontrola proti spamu. Kolik je sedm a čtyři ? Součet zapište číslicemi.