Angular with TypeScript (Angular for Java Developers - Part 2)

Video description

Becoming a fullstack developer is one of the best ways you can progress your career. Angular with TypeScript expands your Java programming skills by introducing you to the TypeScript language—a popular type-centric variation of JavaScript, central to Angular development. It builds on what you covered in the first course -- Creating a Simple Angular App, and relates all its examples to the Java programming language you’re familiar with. This approach makes it easy to expand your skills and learn TypeScript. In the second of a running series of five courses, you’ll learn the basics of the Typescript programming language, how to debug Angular applications, and how to write and run unit tests.


about the subject

The Angular framework is used by millions of developers, powering frontends from simple prototypes to Google’s own web apps. Prized for its scalability, Angular also offers lightning fast speed and response times and the chance to reuse code for both web and mobile. Best of all, it can be integrated with backends built in Java. The Angular framework was written in TypeScript, and using TypeScript for Angular applications makes them easier to read and less prone to type mismatch errors.


about the video

Angular for Java Developers is a five-part course that teaches Java programmers how to use Angular and JavaScript to build applications that are maintainable, testable, and secure. In this Part Two, you’ll get to grips with TypeScript, the primary language for writing Angular apps. You’ll learn about classes and objects, how to use TypeScript for dependency injection, and how to write unit tests to ensure your apps are bug free!

Inside:

  • Part 2 of 5 videos covering Angular frontends for Java applications
  • Similarities and differences between Java and TypeScript
  • Dependency injection
  • Debugging Angular applications
  • Writing unit tests for Angular applications
For viewers with basic Java experience.

Matt Greencroft has over twenty years of experience as a programmer, primarily working in the banking sector. Matt now teaches for Virtual Pair Programmers. His specialties are Microservices, Spring Boot, Apache Spark and Kotlin.

Table of contents

  1. 1. INTRODUCTION TO TYPESCRIPT
    1. Introduction 00:01:52
    2. Similarities to Java and the impact of TSLint 00:06:07
    3. Data types and variables 00:03:36
    4. Declaring variables 00:06:17
    5. Working with Arrays 00:09:46
    6. Loops and conditions 00:05:27
  2. 2. CLASSES AND OBJECTS
    1. Understanding Javascript objects 00:03:12
    2. Creating classes 00:05:17
    3. Class attributes 00:03:23
    4. Constructors and methods 00:09:41
    5. String templates 00:02:39
    6. Some hints for debugging classes 00:02:53
    7. Object equality 00:04:58
  3. 3. ENUMS
    1. Creating an enum 00:02:56
    2. Looping through an enum 00:04:37
    3. Enums with values 00:03:40
    4. Retrieving a label from its value 00:05:06
  4. 4. SERVICES AND DEPENDENCY INJECTION
    1. What is a service 00:02:16
    2. Creating a service 00:07:21
    3. Dependency injection 00:03:12
    4. Exercise 1 - dependency injection 00:01:29
    5. Exercise 1 - solution walkthrough 00:02:40
  5. 5. THE OBSERVER DESIGN PATTERN
    1. The need for the observer design pattern 00:09:42
    2. Introducing the pattern and creating an observer 00:04:54
    3. Triggering an event, and creating an observer 00:07:47
    4. Dealing with errors and the complete event 00:05:33
    5. Unsubscribing an observer 00:03:04
    6. Exercise 2 - observer design pattern 00:02:05
    7. Exercise 2 - solution walkthrough 00:06:47
  6. 6. DEBUGGING IN ANGULAR
    1. Introduction to Debugging 00:01:04
    2. Debugging with Visual Studio Code 00:05:12
    3. Debugging with IntelliJ 00:04:44
  7. 7. UNIT TESTING
    1. Creating a Unit Test 00:05:57
    2. Running a single test 00:03:58
    3. Test evaluation methods 00:02:37
    4. Fixing the app component tests 00:05:24
    5. Testing behaviour 00:04:00
    6. Testing components with service dependencies 00:09:18
    7. Mocking services 00:13:21

Product information

  • Title: Angular with TypeScript (Angular for Java Developers - Part 2)
  • Author(s): Matt Greencroft
  • Release date: April 2020
  • Publisher(s): Manning Publications
  • ISBN: 10000MNHV201927