Thursday, July 5, 2007

Design Pattern

What is a Design Pattern?
A Design Pattern is a general repeatable solution to a commonly occurring problem in software design. A Design Pattern is not complete. It is just a solution or idea of how to solve the problem. The real solution has to be implemented using any programming language.

How are Design Patterns clasified?
Design Patterns can be classified into 5 types.
1. Fundamental,
2. Creational,
3. Behavioural,
4. Concurrency and
5. Structural.

Why are Design Patterns useful?
Design Patterns are very useful because they have been experimented by many users in the past and a solution is suggested by many. Most of the times, this solution will work, taking into consideration the situational and environmental factors. These design patterns help us in designing an effective system. These design patterns can also lead to blunder when not used in appropriate situations.

References
Design Pattern in Wikipedia

No comments: