Course : TypeScript - Producing JavaScript developments

Practical course - 2d - 14h00 - Ref. TSR
Price : 1610 € E.T.

TypeScript - Producing JavaScript developments




You'll discover the TypeScript language, the JavaScript overlay for Front-End development. You'll learn about typing, classes and inheritance for object-oriented programming. You'll become more productive in setting up maintainable interfaces.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. TSR
  2d - 14h00
1610 € E.T.




You'll discover the TypeScript language, the JavaScript overlay for Front-End development. You'll learn about typing, classes and inheritance for object-oriented programming. You'll become more productive in setting up maintainable interfaces.


Teaching objectives
At the end of the training, the participant will be able to:
Getting to grips with development tools
Creating functions and tables
Inheritance with TypeScript
Assembling codes for the server

Intended audience
Web developers and project managers.

Prerequisites
Programmers with basic JavaScript knowledge.

Course schedule

1
The TypeScript principle

  • Why has Microsoft created this alternative?
  • The JavaScript overlay.
  • The comparison between 2 JavaScript and TypeScript.
  • Choice of editor, plug-ins and installation.
  • The ecosystem of tools.
  • Development environment configuration.
  • Debugging transpilation.
Hands-on work
Install VS Code and set up plug-ins.

2
Configuring the compiler.

  • The file "tsconfig.json".
  • Compiler options.
  • Create a "build".
  • Multi-configuration project strategies.
  • Inclusion and exclusion of resources.
  • Creation of a customized workflow.
Hands-on work
Handling the TypeScript compiler and designing a build.

3
TypeScript Basics & Basic Types

  • TypeScript versus JavaScript types.
  • When and what to type?
  • Static type expression.
  • Assignment and inference.
  • Tuples, enums, aliases (custom types).
  • Cases of special typing (never, void...).
  • Functions and tables.
Hands-on work
Create class variables with standard and special typing.

4
Next-generation JavaScript

  • Impact on JavaScript syntax.
  • Automate documentation.
  • Use TypeScript with standard JavaScript code.
  • Include/generate definition files for compatibility.
  • The benefit of implicit "getter,setter".
  • Ahead-of-Time" programming, reduce technical debt.
  • Modules and namespaces.
Hands-on work
Creating a program with TypeScript in combination with JavaScript.

5
Improving OOP with TypeScript

  • OOP Pattern reminders: Singleton, Factory...
  • TypeScript "Duck Typing".
  • Classes & interfaces.
  • The class modifier : "public, private, readonly..."
  • Methods: "private, protected, overrides..."
  • Simple, multiple inheritance.
Hands-on work
Multiple inheritance within previously created classes.

6
Advanced types

  • Custom type management.
  • Generic types and inferences.
  • Generic classes.
  • Generic type restrictions.
Hands-on work
Development and implementation of customized types.

7
Decorators

  • Decorators and "MetaData".
  • Understand the "factories" of decorators.
  • Class, property, method and parameter decorators.
  • Create custom decorators.
  • Implement useful abstractions.
Hands-on work
Implementing a class decorator.

8
TypeScript in practice

  • Use with Node.js.
  • Deliver TypeScript-compatible JavaScript code.


Customer reviews
4,9 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
MICHAEL S.
21/09/26
5 / 5

Sometimes the practical assignment questions are a bit too ambitious given the time allowed to complete them. Otherwise, it’s great :)
PASCAL P.
21/09/26
5 / 5

Nicolas is an excellent teacher who listens carefully and knows how to adapt to each participant’s level.
HAIYUN W.
21/09/26
5 / 5

Very well put together. A very good trainer



Publication date : 03/21/2024



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.


This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.