Video description
Over the years, programmers have run into pretty much the same problems time and time again; not every problem is entirely unique. Therefore, over time programmers applied varying solutions to these problems, and this is how design patterns were born.
This course will walk you through some centrally significant design patterns so that you can easily resolve programming issues encountered in your day-to-day tasks. You'll learn these patterns in one of the most modern languages: Kotlin! We cover the three major areas in design patterns: creational patterns, structural patterns, and behavioral patterns. We also implement one structural pattern—Decorators—that plays an important role in adding functionalities to your programs. We take a look at different kinds of problem and implement the required patterns while avoiding common pitfalls. We also supply useful tips and tricks to use design patterns more effectively.
By the end of the course, you will be confident about using varying types of design patterns to solve common design problems.
Please note that a basic familiarity with Kotlin is desirable to get the most out of this course, along with some experience working with Android Studio.
What You Will Learn
- What design patterns are and how to implement them with Kotlin
- Use three creational patterns—Builder, Singleton, and Factory—to make program designs more flexible
- Use one structural pattern—Decorator—to add a layer of functionality to your program
- Use two behavioral patterns: Chain of Responsibility and Observer
- When and where to use design patterns in your code
Audience
If you're frustrated by commonly recurring problems while designing your programs, then this is the course for you! This course is for developers keen to become professional coders by learning how to use common design patterns to build their apps.
A basic familiarity with Kotlin is desirable to get the most out of this course.
About The Author
Yusuf Saber: Yusuf Saber is an Android developer with over 5 years' professional experience. Yusuf earned his Master's degree in Computer Engineering from Ryerson University in 2011 and started his career as a .NET developer before quickly turning to Android. He has worked on a large range of Android apps, from social to multimedia to B2B and more!
Table of contents
- Chapter 1 : Introduction to Design Patterns
- Chapter 2 : Using the Builder Pattern for Object Creation
- Chapter 3 : Working with Singleton Pattern
- Chapter 4 : Using the Factory Pattern
- Chapter 5 : The Decorator Pattern for Adding Functionality
- Chapter 6 : Applying the Chain of Responsibility Pattern
- Chapter 7 : Implementing the Observer Pattern
- Chapter 8 : Tips on Design Patterns
Product information
- Title: Kotlin Design Patterns
- Author(s):
- Release date: January 2020
- Publisher(s): Packt Publishing
- ISBN: 9781839213021
You might also like
book
Hands-On Design Patterns with Kotlin
Make the most of Kotlin by leveraging design patterns and best practices to build scalable and …
book
Kotlin Design Patterns and Best Practices - Second Edition
Future-proof your applications with best practices and design patterns in Kotlin Key Features Understand traditional and …
book
Kotlin in Action
Kotlin in Action guides experienced Java developers from the language basics of Kotlin all the way …
book
Functional Kotlin
Learn how to apply Functional Programming with Kotlin to real-life projects with popular libraries like Arrow. …