Understanding The Factory Design Pattern

  Рет қаралды 18,412

Ryan Schachte

Ryan Schachte

Күн бұрын

Пікірлер: 41
@susantc5288
@susantc5288 3 жыл бұрын
What a joy to have a tutorial from a clear English speaking individual. Great job btw. Too bad you did not continue.
@AB-os3jy
@AB-os3jy 3 жыл бұрын
I really appreciate how you write it live while explaining.
@nkechinnaji8982
@nkechinnaji8982 5 ай бұрын
Your explanations are super clear!! Awesome video.
@mehmeterdem7581
@mehmeterdem7581 5 жыл бұрын
Please just do all the patterns,you have the best three videos/explanations on patterns on the web.
@canoelectronico
@canoelectronico 4 жыл бұрын
The opening just made my heart beat faster, this is why I love being a software engineer! no one else gets excited about this stuff like we do!
@hueydo3522
@hueydo3522 3 жыл бұрын
Please continue the Design Pattern series, I fell in love with the two videos you made. Make Obersver pattern or Momento next.
@drewenia
@drewenia 4 жыл бұрын
Please make all design patterns. You are really really good
@drewenia
@drewenia 4 жыл бұрын
Please just do all the patterns,you have the best three videos/explanations on patterns on the web.
@osure24
@osure24 6 жыл бұрын
Wow so much clicked for me on the video, thanks so much for making it! I'd watched a number of other videos on factories but this one made the most sense to me. I liked how you gave the overview at the beginning and then went into the code. The pace was also good. Keep 'em coming!
@ElTebe
@ElTebe 6 жыл бұрын
Really great video! Thank you! Here's a little help to improve: 1) your pop filter must be placed farther from the mic because now it not works. 2) adjust your microphone's volume higer, and place farther from you 3) so do not speak into from too close 4) Place your cam close beside/top/bottom of your monitor. So you can look into the cam and see your code/notes at the same time and easier. And it will not harm your neck as your actual microphone setup does.
@TheSimpleEngineer
@TheSimpleEngineer 5 жыл бұрын
Thanks! Check out my visitor design pattern video! I've improved the audio
@noahfinberg7364
@noahfinberg7364 3 жыл бұрын
Great explanation. Very clear and useful!
@christophercheok4814
@christophercheok4814 6 жыл бұрын
Can you make other Design pattern video ? i love how you explain it.
@TheSimpleEngineer
@TheSimpleEngineer 6 жыл бұрын
Sure! I'm working on it.
@stephane3115
@stephane3115 5 жыл бұрын
@@TheSimpleEngineer any progress on it? Just saw this video. you made it really seem easy. Covering other patterns wwith the same way of explaining is definitley going to bring you a lot of views. (me for sure ;))
@TheSimpleEngineer
@TheSimpleEngineer 5 жыл бұрын
Would you guys be interested in a visitor design pattern vid? I was going to make one today
@TheSimpleEngineer
@TheSimpleEngineer 5 жыл бұрын
Here ya go! kzbin.info/www/bejne/ipa9on6keJearKM
@bangalorehub1336
@bangalorehub1336 5 жыл бұрын
Amazing. Pls do videos on all servers .
@nguyentung6282
@nguyentung6282 3 жыл бұрын
Thank you so much. I appreciate your video a lot. Hope you will soon reach to 100k sub ^^
@arsene9216
@arsene9216 6 жыл бұрын
Definitely on point! Thanks for the video
@JoshSaintJacque
@JoshSaintJacque 7 жыл бұрын
Really nice, thanks for the breakdown.
@rado147
@rado147 4 жыл бұрын
Very nice code example. It would be perfect if u make another patterns... make please Abstract Factory too with some great example... if the example is good, it is way easier to understand. Thanks.
@temsmirkie4499
@temsmirkie4499 6 жыл бұрын
hey thanks for the video i would appreciate if you did the abstract factory design pattern it will really help
@glendamabasa6423
@glendamabasa6423 4 жыл бұрын
Thanks a lot. This really helped
@TheSimpleEngineer
@TheSimpleEngineer 4 жыл бұрын
Glad to hear that!
@gipperize28
@gipperize28 6 жыл бұрын
Outstanding
@jcc9283
@jcc9283 6 жыл бұрын
Good stuff
@pg00096
@pg00096 6 жыл бұрын
Amazing explanation! Thank you :)
@colin7406
@colin7406 4 жыл бұрын
I only know LabVIEW, nice to see where the architecture came from.
@niekbeijloos8355
@niekbeijloos8355 4 жыл бұрын
Very clearly explained. Is this the factory method or factory method pattern ? Could you also provide an explanation of the abstract and simple factory ?
@thumarmitesh6559
@thumarmitesh6559 3 жыл бұрын
Great
@dhananjaypal8498
@dhananjaypal8498 5 жыл бұрын
Hello!! As per the definition, the base class(ServerFactory) was only supposed to declare the interface to create objects. The decision of which object to be created should have been deferred to the subclasses/subfactories. Isn't it??
@softesthairtutorials
@softesthairtutorials 7 жыл бұрын
Subscribed
@PS-dp8yg
@PS-dp8yg 5 жыл бұрын
Dumb question...doesn't the ServerFactory violates Open/Closed principle? Every time you create a new server type, you need to modify ServerFactory to support the new server type. Is there anyway around this? Or is this the only scenario that is acceptable to violate Open/Closed principle?
@TheSimpleEngineer
@TheSimpleEngineer 5 жыл бұрын
There are no stupid questions. This example is contrived and does violate OCP. You may be interested in reading about the abstract factory, which delegates object generation through subclassing (another layer of indirection)
@PS-dp8yg
@PS-dp8yg 5 жыл бұрын
@@TheSimpleEngineer Thanks for the reply. I'm going to check abstract factory out.
@belinhobeli9569
@belinhobeli9569 4 жыл бұрын
Ive read on this without being an expert...as long as it is in just that one place, its okey. Yes, it still violate, but still much better than violating everywhere.
@monishkumardurairaj3038
@monishkumardurairaj3038 4 жыл бұрын
In every video,I get to know what is factory design but i just want to understand why factory design??Inorder to solve which problem in real world this is used. for eg:singleton pattern .. this is used when ever there has to be only one object creation has to be done ,In places such as to access the database. so like that in factory design addresses which problem?
@codeintermediate4529
@codeintermediate4529 4 жыл бұрын
Factory method design pattern is explained well in this video - kzbin.info/www/bejne/qpWwgJebmtyHpMU
@tdias25
@tdias25 4 жыл бұрын
why GetServer is static?
@dangerous3004
@dangerous3004 2 жыл бұрын
It's only a simple factory, not the factory (method) design pattern
Dependency Injection & Inversion of Control
11:00
Ryan Schachte
Рет қаралды 199 М.
Understanding The Visitor Design Pattern
32:08
Ryan Schachte
Рет қаралды 58 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 127 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 4,4 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 80 МЛН
Design Patterns: Factories
25:26
Microsoft Visual Studio
Рет қаралды 55 М.
C++ Tutorial: the factory design pattern
14:21
Professor Hank Stalica
Рет қаралды 10 М.
Factory Method Pattern Visualized
23:54
Kantan Coding
Рет қаралды 10 М.
Injectable Factory Method with Spring Boot
20:34
campbelltech
Рет қаралды 2,5 М.
What is the Factory Pattern? | Software Design Principles
26:48
Be A Better Dev
Рет қаралды 28 М.
SOLID Design Patterns
57:18
Microsoft Visual Studio
Рет қаралды 252 М.
What is the Observer Pattern? (Software Design Patterns)
21:49
Be A Better Dev
Рет қаралды 22 М.
Factory method pattern - design patterns (ep 5)
25:41
BBarters
Рет қаралды 85 М.
Sliding Window Technique - Algorithmic Mental Models
36:45
Ryan Schachte
Рет қаралды 361 М.
Factory Design Pattern in Spring boot app
18:15
BeingSoftwareEngineer
Рет қаралды 12 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 127 МЛН