TypeScript/JavaScript Common Foundation

Duration: 1 Day

Course Overview

TypeScript and Javascript have become the de-facto standard language for implementing client-side user interfaces. In addition they are used extensively for back end API development and automated testing frameworks such as Playwright. This course is designed to help you learn TypeScript and JavaScript syntax and techniques.

On-line from
your chosen location

At our dedicated
training facility

On-site at
your premises

Target Audience

This course is the pre-requisite for the follow on courses for both software engineers and test automation engineers

COURSE OBJECTIVES

At the end of this course, students should be able to:

• Learn to write effective and accurate TypeScript and JavaScript code
• Make use of popular TypeScript techniques and best practices
• Manage promises effectively

Course Content

Please insert text 1

1 A Simple Javascript Application
• Node – the JavaScript Runtime
• Javascript concepts and syntax rules
• Variable declarations and data types
• JavaScript Operators
• Load and test Javascript applications

2 Control Flow in JavaScript
• Branching in JavaScript
• Looping in JavaScript
• Leaving loops early in JavaScript

3 JavaScript Arrays and Strings
• Create and use arrays
• Create and use strings

4 JavaScript Functions
• Designing re-usable code blocks
• Rules for Function implementation
• Scope and data communication
• Functions as a first order data type

5 TypeScript Essentials
• TypeScript vs. JavaScript
• Transpilation
• Using simple types
• Using arrays, tuples, and enums
• Using undefined, null, and unknown
• Union types

6 Defining and Calling Functions in TypeScript
• Typed parameters and returns
• Destructuring parameters in TypeScript
• Default parameters, optional parameters, and rest parameters
• Lambda expressions

7 Defining and Using Classes in TypeScript
• How to define a class
• Constructors
• Constructor parameter properties
• Read-only properties
• Definite assignment

8 Asynchronous TypeScript
• Understanding promises
• Chaining promises
• Using the async and await keywords
• Running independent tasks in parallel
9 Tooling Overview
• Linters
• Typical Build Processes
• Packaging and Automated Testing

COURSE PREREQUISITES

• No programming experience is required
• Familiarity with concepts such as functions or procedures, control flow, arrays, and structures or records is useful as is a background in Object Orientation

You will receive a full set of course notes
and all supporting materials for your course.

Hard Copy Delivered to your premises or Downloaded to a chosen device.

Download a
Course Outline PDF

You will receive a full set of course notes and all supporting materials for your course.
Hard Copy Delivered to your premises or Downloaded to a chosen device.

To book this course please call 
+44 (0) 1444 410296 or email Info@kplknowledge.co.uk