mardi 14 avril 2020

Scenarios where we can use factory pattern in real projects

I am learning design pattern. It is well explained in tutorial but I have some confusion. Kindly experts guide me. In this example https://www.youtube.com/watch?v=bGqw8crGZ7Y&list=PL6n9fhu94yhUbctIoxoVTrklN3LMwTCmd&index=8 he explained contract and permanent employee. But I think we can do that work with database. Am thinking right?

Aucun commentaire:

Enregistrer un commentaire