Discussion with Shivangi regarding Abstract factory design pattern. We went through the theory and then a problem. Also, discussed shortcomings of Factory design pattern in solving this problem.
Problem Statement was :
If we have two type of products, Mouse and Keyboard of two companies, Apple and Microsoft and client want to get any of it. Implement this case.
Chapters :
00:00 - Initial Setup
00:25 - Problem Statement
03:43 - Factory DP shortcoming with current question
05:50 - Abstract Factory : Creating diff factory (discussion)
07:00 - Abstract Factory - Class Discussion
07:55 - Theory : Abstract Factory
08:35 - Code start (Setup)
12:00 - Code : Mouse Interface and Classes
14:10 - Code : Keyboard Interface and Classes
16:50 - Code : Factory Interface and Classes
21:50 - Discuss : Flow chart of Abstract Factory
23:25 - Code : Abstract factory class
27:35 - Code : Client Class
Download
0 formats
No download links available.
2. Abstract Factory Design Pattern - Part 1 | What, Why and How | With Code (Java) | NatokHD