In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. A design pattern is not a finished design that can be transformed directly into the source or machine code. It is a description or template for how to solve a problem that can be used in many different situations. -Wiki
-----------------------------------------------------------------------------------------------------------------
Observer Pattern
-----------------------------------------------------------------------------------------------------------------
Proxy Pattern
-----------------------------------------------------------------------------------------------------------------
Builder Pattern
-----------------------------------------------------------------------------------------------------------------
Singleton Pattern
-----------------------------------------------------------------------------------------------------------------
Factory Pattern
-----------------------------------------------------------------------------------------------------------------
Decorator Pattern
-----------------------------------------------------------------------------------------------------------------
To explore the various kind of Design Patterns follow the below links.
Observer Pattern
-----------------------------------------------------------------------------------------------------------------
Proxy Pattern
-----------------------------------------------------------------------------------------------------------------
Builder Pattern
-----------------------------------------------------------------------------------------------------------------
Singleton Pattern
-----------------------------------------------------------------------------------------------------------------
Factory Pattern
-----------------------------------------------------------------------------------------------------------------
Decorator Pattern
-----------------------------------------------------------------------------------------------------------------
Please comment if you got any other interesting real life examples.
ReplyDelete