Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Chapter 5. ANALYSIS AND DESIGN METHODOLO... > 5.8 Comparison of SASD and OOAD Meth... - Pg. 5.25

Comparison of SASD and OOAD Methodologies 5.25 · Pattern Name: Identifies the design pattern for reuse. Pattern name describes a design problem, its solutions, its consequences a word or two. · Problem: Describes the problem and when to apply a particular design pattern. For example, problem describes specific design problems of representing algorithm as object, etc. The problem may include conditions that must be met before we apply the design pattern. · Solution: Elements of design, their relationships, responsibilities and collaborations. Solution cannot be an exact solution since design pattern is like a template which has to be fitted for a particular problem. The design pattern provides an abstract description of a design problem and arrangement of classes and objects to solve the problem. · Consequences: There are consequences of applying a design pattern to a problem. List- ing of these consequences help a designer to choose from the alternatives. How can design pattern help a designer? · · · · To identify less obvious objects such as a process or an algorithm. To decide what should be an object ­ in other words, object granularity. To specify object interfaces. To specify object implementations. Principles of Reusable Object-oriented Design · Inheritance extends a class functionality and one can get a new class merely by extend- ing an existing class.