T1830

Ladda ner som PDF

NodeJS and Express Foundation

The initial shock of writing JavaScript on the server-side has subsided, and as the dust settles, Node.js is still around. JavaScript has definitely made an impact outside of browsers and client-side development. This course examines how to actually build web applications using the Node.js runtime, together with the popular Express framework. We'll consider handling asynchronous requests, both from a pure Node.js standpoint, as well as using a more modern approach with promises and the Bluebird library.

Audience

The course is directed towards developers who have worked with JavaScript before, and who are used to working with web applications in some form. You might be a frontend developer who wants to get acquainted with backend development, or you might have worked with other web frameworks and want to learn more about Node.js application development.

Prior knowledge

Participants are expected to be comfortable with Javascript (but not necessarily ECMAScript 2015).

We won't dwell on older standards, but rather use newer versions of ECMAScript right away, making use of new language features such as classes, arrow functions and modules right away. We also know better than to NOT test our code, and so will take a look at how TDD fits into the process of writing Node.js services. We'll take a look at both unit testing as well as end-to-end testing, and see how they complement each other in a lot of ways.

As a participant, you will get the chance to build an application from scratch during the 2 days of the course. The course has a highly practical focus, and conveys the knowledge and experience that has been built up from numerous real-world projects involving Node.js by the developers at Edument.

What you will learn

Day 1

The first day of the course will take a look at what Node.js is, and what it isn't. We'll start by building a really simple web application, and move onto looking at the new ES2015 syntax and compiling using babel-node. This first day also introduces promises and the Express framework.

  • Node.js overview
  • Creating a simple Node.js project
  • npm and package management
  • JavaScript - ECMASCript history and differences between versions
  • Moving to ECMAScript 2015 using babel-node
  • Asynchrony, Node.js callbacks and promises
  • A+/Promises and the Bluebird library
  • Introduction to Express
  • Routing requests in Express
  • ... Läs mer

We won't dwell on older standards, but rather use newer versions of ECMAScript right away, making use of new language features such as classes, arrow functions and modules right away. We also know better than to NOT test our code, and so will take a look at how TDD fits into the process of writing Node.js services. We'll take a look at both unit testing as well as end-to-end testing, and see how they complement each other in a lot of ways.

As a participant, you will get the chance to build an application from scratch during the 2 days of the course. The course has a highly practical focus, and conveys the knowledge and experience that has been built up from numerous real-world projects involving Node.js by the developers at Edument.

What you will learn

Day 1

The first day of the course will take a look at what Node.js is, and what it isn't. We'll start by building a really simple web application, and move onto looking at the new ES2015 syntax and compiling using babel-node. This first day also introduces promises and the Express framework.

  • Node.js overview
  • Creating a simple Node.js project
  • npm and package management
  • JavaScript - ECMASCript history and differences between versions
  • Moving to ECMAScript 2015 using babel-node
  • Asynchrony, Node.js callbacks and promises
  • A+/Promises and the Bluebird library
  • Introduction to Express
  • Routing requests in Express
  • Server-side templating using handlebars

Day 2

Now that we know about Node.js, npm, Express and promises, we can dig a bit deeper into all of these areas and start talking about REST in more detail. We'll see how serving presentable content from the server-side might differ from solely returning JSON and feeding that to a single-page application.

This day will take an in-depth look at REST principles, testing, security and error handling and deepen your knowledge about Express.

  • REST-driven single-page applications vs. traditional web applications
  • REST core principles and architectural overview
  • RESTFulness and the Richardson maturity model
  • Proxying requests
  • Error handling
  • Express middleware
  • Building and testing services
  • E2E testing and mocks
  • Securing your application

Utbildningen levereras i samarbete med

Kursfakta

Kurs-ID: T1830
Längd: 2 dagar
Pris exkl moms: 20 450 kr
Inregistrering: 09.00
Kursstart: 09.30
Kursslut (ca): 17.00

Frågor om kursen?

Har du frågor om kursens innehåll, leveransdatum/ort eller behöver en företagsanpassad variant? Fyll i formuläret nedan!


Kan betalas med:
TRAINING CARD

Ort och datum

Stockholm
5 mar-6 mar
Boka nu!
20 aug-21 aug
Boka nu!
Göteborg
5 mar-6 mar
R
Boka nu!
20 aug-21 aug
R
Boka nu!
Cloud Access
i Läs mer

Delta på kursen från ditt hem, jobb eller annan plats.

5 mar-6 mar
Boka nu!
20 aug-21 aug
Boka nu!

Tipsa