GoF DesingPatterns
von Shaimaa Ali
1. Behavioral patterns
2. Creational Patterns (problems related to creation of instantiaon of objects)
2.1. Singleton (Restricts the instiation to exactly one object)
2.2. Factory Method (Delegate the creation of the sub-type of the product to the sub-type of the creator)
2.3. Abstract Factory Class (groups related products)
2.4. Prototype (copy complex objects)
2.4.1. deep copy
2.4.2. shallow copy
2.5. Builder (creating objects with different representations)
3. Structural Patterns (problems related to arranging objects and classes to form more complex structures)
3.1. Adapter (delegate call between different interfaces)
3.2. Bridge (decouple the abstraction from the implementation)
3.3. Composite (leaf components and group components treated as of the same type)
3.4. Decorator (adds behaviour dynamically)
3.5. Facade (provides a signle interface for related services)
3.6. Proxy (provides a modified version of the original)