Creating and Using TypeScript Decorators

This course will cover how to leverage all types of TypeScript decorators to implement cross-cutting concerns within your projects.
Course info
Rating
(52)
Level
Advanced
Updated
Nov 18, 2019
Duration
1h 13m
Table of contents
Description
Course info
Rating
(52)
Level
Advanced
Updated
Nov 18, 2019
Duration
1h 13m
Description

When creating TypeScript projects, there are times when repeated functionality cannot be solved by inheritance. In this course, Creating and Using TypeScript Decorators, you will learn how to leverage TypeScript decorators to solve cross-cutting concerns in your application. First, you will learn how to implement basic decorators on functions, properties, and classes. Next, you will use single decorators to centralize logic within your application. Finally, you will combine multiple decorators to create an entity framework that allows you to share logic for a REST based API. When you’re finished with this course, you will have the skills and knowledge of TypeScript decorators needed to leverage AOP (Aspect-oriented Programming) within your project.

About the author
About the author

David is a Webby Award winning cloud development consultant that focuses on cloud native web, mobile, and IoT applications. He has over 15 years of experience building digital solutions.

More from the author
More courses by David Tucker
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello everyone. My name is David Tucker, and welcome to the course, Creating and Using TypeScript Decorators. Now I'm a cloud consultant, and I help organizations plan, build, and implement custom software in the cloud, and I have over 15 years of experience in software architecture and development. When creating TypeScript projects, there are times when repeated functionality cannot be solved by inheritance, and in this course, Creating and Using TypeScript Decorators, you will learn what decorators are and how to leverage them to solve cross-cutting concerns in your TypeScript projects. First, you will learn how to implement basic decorators on functions, properties, parameters, and classes. And next, you will use single decorators to centralize logic within your application. Finally, you will combine multiple decorators to create an Entity Framework that allows you to share logic for a REST-based API. And this solves many challenges that I see in real projects on a daily basis. When you're finished with this course, you will have the skills and knowledge of TypeScript decorators needed to leverage aspect-oriented programming within your project.