Home
What is Design Pattern?
- Design patterns are recurring solutions to design problems
- Design patterns constitute a set of rules describing how to accomplish certain tasks in the realm of software development
- Design patterns focus more on reuse of recurring architectural design themes, while frameworks focus on detailed design… and implementation.
- A pattern addresses a recurring design problem that arises in specific design situations and presents a solution to it
The authors divided these patterns into three types creational, structural and behavioral
- Creational patterns are ones that create objects for you, rather than having you instantiate objects directly. This gives your program more flexibility in deciding which objects need to be created for a given case.
- Structural patterns help you compose groups of objects into larger structures, such as complex user interfaces or accounting data.
- Behavioral patterns help you define the communication between objects in your system and how the flow is controlled in a complex program.
No comments:
Post a Comment