How to use Factory Method Design Pattern to design a course website like Udacity, Edx, Coursera...

How to use Factory Method Design Pattern to design a course website like Udacity, Edx, Coursera...

sudoCODE

1 год назад

54,567 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Saravanakumar Radhakrishnan
Saravanakumar Radhakrishnan - 08.10.2023 03:36

This is simple factory only. Not a factory pattern.

Ответить
Coding JoySoul
Coding JoySoul - 23.09.2023 04:24

Why have you stopped making videos. You don't how popular are your videos amongst students

Ответить
sanketh s
sanketh s - 22.09.2023 19:25

Hello mam, it looks like you're using premium features of IntelliJ , is it provided by your company or you bought the license on your own ?

Ответить
Pratap tyagi
Pratap tyagi - 11.09.2023 08:53

Doubt:-
Is it the same method that's used to expose transaction API's of any bank to Amazon kind of 3rd party

Ответить
Shabana Asmi
Shabana Asmi - 10.09.2023 08:39

Very well explained, have been searching for the videos and got this. You saved my life. Thank you ❤

Ответить
Sourabh Choudhary
Sourabh Choudhary - 13.08.2023 19:40

here i think we need only one instance of CourseFactory, as it can be used to create a number of courses

Ответить
Jasper
Jasper - 28.06.2023 23:12

Hi Arpita, can you please take more use cases for Low-level design eg. Parking lot, School Management Systems, Hospital Management System, etc?

Ответить
Gilbert Gabriel
Gilbert Gabriel - 18.06.2023 18:27

This is an amazing video. Thank you for the wonderful explanation. First time I understood what Factory method pattern is actually meant for.

Ответить
Saiprasad Kyatam
Saiprasad Kyatam - 23.04.2023 14:24

If i create multiple concreate class based on vehicle type (TruckCreator, CarCreator, PlaneCreator) than based on type of vehicle if i return the creator class then that factory interface isnt working like facade class? please answer

Ответить
Tech_For_Peace
Tech_For_Peace - 16.03.2023 15:03

The best playlist on Design Patterns I have seen so far. Your way of explanation, examples, animations everything is top notch. Thanks a million to you.

Ответить
sarinkumar patle
sarinkumar patle - 04.03.2023 11:20

Before coming to this tutorial, I am having, doubts about design pattern but the way explained all the things it is easy to understand.
Thank you very much for such informative video ☺

Ответить
Md Nadeem Asgar
Md Nadeem Asgar - 21.02.2023 10:29

Hi Yogita, can you please upload the code online and share the code url in the description. So that we can also try manipulating the code for the given design pattern.

Ответить
Vicky Kumar
Vicky Kumar - 02.02.2023 20:06

Nice explained

Ответить
srivatsa 1
srivatsa 1 - 16.01.2023 22:40

You are amazing! Thanks for creating HLD, LLD, and Design patterns courses.

Ответить
Nathamuni
Nathamuni - 13.01.2023 07:54

KINDLY SHARE THIS FACTORY METHOD PACKAGE THAT U HAVE IMPLEMENTED

Ответить
Moco Coco
Moco Coco - 04.01.2023 17:19

Hello and geetings from Bulgaria.

I like your energetic and well explained courses. However ...

I can see for last ... many years that it is the Indian scholars pushing the abstract methods while many other have given them up. For ex. the whole C# platform is based on the implementation of interfaces. Which in OOP terms gives us the "is a" relationships. Down the line that also help to implement the very modern now concepts like dependency injection and automatic unit tests. In both cases we can inject an object as another object's "has a", as well as we can inject a Mock object with pre-setup return values. That is for as long as those objects implement the desired interfaces.

I would love to engage you on small chat / discussion about that.

Thank you,
ILIIA

Ответить
Rahul
Rahul - 10.11.2022 08:05

Ответить
Ankur Charan
Ankur Charan - 23.10.2022 16:46

Great video, yogita.
btw, do you have someone for your video editing or how do you do it?

Ответить
khushboo priya
khushboo priya - 07.10.2022 15:33

Where can I find the code?

Ответить
Ronit Nath
Ronit Nath - 25.09.2022 20:43

Excellent explanation. Could you please add video for decorator design pattern?

Ответить
Nitin
Nitin - 03.09.2022 18:13

Useful information, but maam dnt you think swich is violating OCP in case we have to add new type.. If not then can you please explain??

Ответить
koteshwarrao maripudi
koteshwarrao maripudi - 20.08.2022 16:25

You have not used createCourse method in factory method to create instance instead used new Class() directly.

Ответить
curious soul
curious soul - 20.08.2022 12:38

I presented similar design in one of the tech interviews and was questioned on breaking OCP in factory class.
Though this is mostly taught by most authors for explaining the concept, in reality, we can avoid switch case with map so factory method just look up the map and return the value. Now to build the map, we have two choices
1. Provide register product method in factory so product can register itself and then can be returned
2. Use reflection to load classes in a map at startup. Map is maintained by factory class. Map key is identifier used in switch case and value is return type of factory method.

Ответить
Manavalan Michael
Manavalan Michael - 20.08.2022 09:07

The Content is impressive, presentations. Which software used to create this content?

Ответить
Paul Aditya Shaw
Paul Aditya Shaw - 20.08.2022 08:11

What is the program you use to create class diagrams???

Ответить
Dinesh Yadav
Dinesh Yadav - 17.08.2022 19:20

Supreb expiation ❤️👌👌

You always made easy 😊

Ответить
Arup De
Arup De - 15.08.2022 19:12

complete the playlist quickly

Ответить
Mateusz Mościcki
Mateusz Mościcki - 15.08.2022 12:30

Hello. I appreciate your effort. I have a question regarding the switch statement in your CourseFactory class as well as else-if statements in the vehicles example. Aren't those breaking the open-closed principle?

Ответить
Algorithm Problem
Algorithm Problem - 15.08.2022 09:37

Crystal Clear Explanation. Thanks!

Ответить
Venkata H
Venkata H - 14.08.2022 19:39

Thank you for the video on an import pattern 👍

Ответить
Zeeshan
Zeeshan - 14.08.2022 14:49

As always on to the point and easy to understand . waiting for another design pattern video.

I have one off the topic query . how is your experience on LinkedIn Learning? dose it actually add some extra point when it comes to big companies ?I would really appreciate your response. Thanks !

Ответить
MANISH PERIWAL
MANISH PERIWAL - 13.08.2022 23:05

Great example. If you can also explain the code flow through debugger, that will help to understand code much better.

Ответить
Ganesh khirwadkar
Ganesh khirwadkar - 13.08.2022 11:28

Bahut kam log samjha pate hai is tarah ! Aap unme se ek hai. Thanks for this explaination, I was wondering why this series is not resumed , Hoping you will continue and we will get best out of this series !

Ответить
Akash Mundhe
Akash Mundhe - 13.08.2022 10:11

I am bca first year student . Can i become a software engineer? Plz tell me roadmap.

Ответить
Abhishek Yadav
Abhishek Yadav - 12.08.2022 20:19

thanks for such video

Ответить
Dibya Prakash Pandey
Dibya Prakash Pandey - 12.08.2022 20:17

Excellent 👌👍

Ответить
Savita
Savita - 12.08.2022 18:48

After long time

Ответить
Lalit Pimpale
Lalit Pimpale - 12.08.2022 17:04

The second example was little bit complicated but I really like createVehicle example. Thank you for explaining in easy manner.

Ответить