Strategy Design Pattern - Topic 5 | Java Design Pattern Series

Published: 01 January 1970
on channel: Developer Hut
602
26

Hi,

Welcome to the Java Design Pattern Series. In this session I will be covering the most interesting and my favorite design pattern, which is Strategy Design Pattern.

In this session, I explained what can be the possible the problems we faced while adding any new behavior in existing application and how we can solve them using Strategy Design Pattern with simple use case (Toy Factory application).


Below are the topics we are going to cover in this session.

1. What are the challenges we face while adding any new feature in existing application?
2. What is Strategy Design Pattern and how it solved the problems?
3. Understanding how Strategy works?
3. Rules/Steps to create Strategy Design Pattern
4. Implementation : Toy Factory Application
5. Features of Strategy & Conclusion


**********
Chapters
**********
0:00 Introduction
0:17 Topics for this session
0:47 Understanding the client requirement
2:07 Solving the problem with Inheritance
4:49 Solving the problem with Composition
8:45 What is Strategy Design Pattern?
9:45 Steps to Create Strategy
11:08 Code - Application Structure
12:45 Code - Problem with Inheritance
14:17 Code - Using Composition
20:43 Summary
22:22 Conclusion


The source code which I explained in this video is available at below Git Hub repository
Link - https://github.com/developerhut-net/J...


**************
Other Links
**************
1. Abstract Factory Design Pattern -    • Abstract Factory Design Pattern - Topic 4 ...  
2. Factory Design Pattern -    • Factory Design Pattern - Topic 3 | Java De...  
3. Observer Design Pattern -    • Observer Design Pattern - Topic 2 | Java D...  
4. Singleton Design Pattern -    • Singleton Design Pattern - Topic 1 | Java ...  
5. What is Functional Interface? -    • Functional Interface  
6. Lambda Expression -    • Lambda Expression  
7. New Functional Interfaces & Lambdas -    • Functional Interfaces And Lambda Expression  

If you have any questions, queries or suggestions related to this topic, please drop it in comments section.


#java #javadesignpattern #strategydesignpattern #strategy #composition #inheretance #designchallenges #javaprogramming #javadevelopement #developerhut #coding

Subscribe to our other channel for more videos :
   / @developerhut  

Happy Learning
‪@developerhut‬


On this page of the site you can watch the video online Strategy Design Pattern - Topic 5 | Java Design Pattern Series with a duration of hours minute second in good quality, which was uploaded by the user Developer Hut 01 January 1970, share the link with friends and acquaintances, this video has already been watched 602 times on youtube and it was liked by 26 viewers. Enjoy your viewing!