I was going through the various design patterns following Doc.
I'm clear about the Factory and abstract Factory Design Patterns. But little bit confused about the Builder and prototype Design pattern.
When to use which design pattern if i have following criteria :-
- Security of API (Inversion of Control).
- Code usability.
- Code Hiding (encapsulation).
Aucun commentaire:
Enregistrer un commentaire