Book Image

Design Patterns in TypeScript [Video]

By : Dimitiris Loukas
5 (2)
Book Image

Design Patterns in TypeScript [Video]

5 (2)
By: Dimitiris Loukas

Overview of this book

In programming, there are several problems that occur frequently. To solve these problems, there are various repeatable solutions; these are known as design patterns. Design patterns are a great way to improve the efficiency of your programs and improve your productivity; you'll learn them all in this course. This course is a collection of the most important patterns you need to improve application performance and productivity. This course starts by exploring SOLID principles to write clean code. Then you will create new objects and instance of classes with creational design Patterns. Next, you will utilize dependency injection with InversifyJS to create testable, maintainable, and extensible code. Moving on, you will explore structural design patterns to better express the relationships between different application entities. Lastly, you will investigate behavioral patterns to add flow to your applications and add levels of communication between your entities. The code bundle for this video course is available at: https://github.com/PacktPublishing/Design-Patterns-in-TypeScript
Table of Contents (5 chapters)
Chapter 3
Dependency Injection
Content Locked
Section 2
Creating a Custom Container
There’s great value in creating a custom IoC container. The viewer will get to understand the inner workings of Dependency Injection. - Describe the vital operations that an IoC container needs to be doing - Implement the registration method - Implement the dependency resolution method