Sunday 30 December 2012

3. Design patterns


What is Design Patterns?
In software world, a design pattern is repeatable solution which is used to solve the software problems in the software design. We can also say that design pattern is model or template which can be often used when we write the software programs.

The Gang of Four (GoF) authors namely Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides are spent lot of time on the software design and they come with in total 23 design patterns with their hard work and they proved that any software design which will fall under any one of the these 23 design patterns.

Why do we need to use or consider design patterns when we write software programs?
Design Patterns are designed for reducing the software hassles & will show you how you can reusable OOAD in different situations.

What are the GoF design patterns (23 design patterns)?
Please refer the below chart will shows various types of design patterns & how to remember them easily.
GoF Design Patterns

Note:

Architecture patterns are well known patterns for solving software application architecture problems. Examples of the architecture patterns are 

1. MVC
2. MVP
3. MVVM
4. N-layer depends upon the domain project

Architecture pattern is need to decide before start developing the project and very hard to change once its built.


Next, I will suggest to visit the topic number 4. UML and come back here to continue reading the remaining page because we are going to use the UML in each design pattern. So I would suggest to get know more about the UML first and keep reading.

No comments:

Post a Comment