tailieunhanh - Lecture Software design and architecture – Chapter 27
In this chapter, the following content will be discussed: introduction to design patterns, creational design patterns, structural design patterns, behavioral design patterns, UML dynamic view, state diagrams. | SOFTWARE DESIGN AND ARCHITECTURE LECTURE 27 Review UML dynamic view State Diagrams Outline Introduction to design patterns Creational Design Patterns Structural Design Patterns Behavioral Design Patterns Design Patterns Design patterns were derived from ideas put forward by Christopher Alexander who suggested that there were certain common patterns of building design that were inherently pleasing and effective. Pattern The pattern is a description of the problem and the essence of its solution, so that the solution may be reused in different settings. The pattern is not a detailed specification. Design Pattern Design patterns are: Patterns and Pattern Languages are ways to describe best practices, good designs, and capture experience in a way that it is possible for others to reuse this experience. Design Pattern Design patterns are usually associated with object-oriented design. Published patterns often rely on object characteristics such as inheritance and polymorphism to provide . | SOFTWARE DESIGN AND ARCHITECTURE LECTURE 27 Review UML dynamic view State Diagrams Outline Introduction to design patterns Creational Design Patterns Structural Design Patterns Behavioral Design Patterns Design Patterns Design patterns were derived from ideas put forward by Christopher Alexander who suggested that there were certain common patterns of building design that were inherently pleasing and effective. Pattern The pattern is a description of the problem and the essence of its solution, so that the solution may be reused in different settings. The pattern is not a detailed specification. Design Pattern Design patterns are: Patterns and Pattern Languages are ways to describe best practices, good designs, and capture experience in a way that it is possible for others to reuse this experience. Design Pattern Design patterns are usually associated with object-oriented design. Published patterns often rely on object characteristics such as inheritance and polymorphism to provide generality. The general principle of encapsulating experience in a pattern is one that is equally applicable to any kind of software design. So, you could have configuration patterns for COTS systems. Gang Of Four (GoF) Design Patterns Named after the four authors of book. Developed by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. The GoF design patterns are “descriptions of communicating objects and classes that are customized to solve a general design problem in a particular context.” The four essential elements of design patterns were defined by the ‘Gang of Four’ in their patterns book: A name that is a meaningful reference to the pattern. A description of the problem area that explains when the pattern may be applied. A solution description of the parts of the design solution, their relationships, and their responsibilities. This is not a concrete design description. It is a template for a design solution that can be instantiated in different ways. This is often .
đang nạp các trang xem trước