What Is a Design Pattern? A design pattern is a solution to a common design problem. Describes a common design problem Describes the solution to the problem ■ Discusses the results and trade-offs of applying the pattern ◆ Design patterns provide the capability to reuse successful designs. Template - Parameters L Pattern Name Parameterized Structural Aspect Behavioral Aspect Collaboration Object Oriented Analysis and Design 11
Object Oriented Analysis and Design 11 Structural Aspect Behavioral Aspect What Is a Design Pattern? A design pattern is a solution to a common design problem. ▪ Describes a common design problem ▪ Describes the solution to the problem ▪ Discusses the results and trade-offs of applying the pattern Design patterns provide the capability to reuse successful designs. Parameterized Collaboration Pattern Name Template Parameters
What Is an Architectural Pattern? ◆ An architectural pattern expresses a fundamental structural organization schema for software systems.It provides a set of predefined subsystems,specifies their responsibilities,and includes rules and guidelines for organizing the relationships between them Buschman et al, "Pattern-Oriented Software Architecture -A System of Patterns Layers -Model-view-controller (M-V-C) Pipes and filters Blackboard Object Oriented Analysis and Design 12
Object Oriented Analysis and Design 12 What Is an Architectural Pattern? An architectural pattern expresses a fundamental structural organization schema for software systems. It provides a set of predefined subsystems, specifies their responsibilities, and includes rules and guidelines for organizing the relationships between them – Buschman et al, “Pattern-Oriented Software Architecture — A System of Patterns” ▪ Layers ▪ Model-view-controller (M-V-C) ▪ Pipes and filters ▪ Blackboard