CSC/ECE 517 Fall 2009/wiki2 12 01: Difference between revisions
Jump to navigation
Jump to search
Suryaramana (talk | contribs) No edit summary |
Suryaramana (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
== Problem Statement == | == Problem Statement == | ||
Line 8: | Line 7: | ||
A design pattern in software engineering can be described as a reusable solution template to a frequently occurring software design problem. | A design pattern in software engineering can be described as a reusable solution template to a frequently occurring software design problem. | ||
==== Desirable Properties of Pattern Classification Schemes ==== | |||
* The schemes ought to be simple and easy to learn and use | |||
* The | * The criteria should be few in number | ||
* The main properties of the patterns should be represented | |||
* The classification scheme should facilitate easy selection of patterns | |||
* Using the classification scheme it should be easy to classify new patterns | |||
* The classification scheme should also capture the relationships between different patterns | |||
* | |||
* | |||
* | |||
* | |||
== Classification of Design Patterns == | == Classification of Design Patterns == | ||
Line 48: | Line 34: | ||
*Performance | *Performance | ||
*Maintenance | *Maintenance | ||
Revision as of 20:25, 9 October 2009
Problem Statement
Patterns are often classified into creational, structural, and behavioral categories. However, this leaves a large number of patterns in each group, with no easy way of remembering all of them. What classifications and strategies have been developed to help programmers remember patterns, so that they can apply them at opportune moments?
Design Patterns
A design pattern in software engineering can be described as a reusable solution template to a frequently occurring software design problem.
Desirable Properties of Pattern Classification Schemes
- The schemes ought to be simple and easy to learn and use
- The criteria should be few in number
- The main properties of the patterns should be represented
- The classification scheme should facilitate easy selection of patterns
- Using the classification scheme it should be easy to classify new patterns
- The classification scheme should also capture the relationships between different patterns
Classification of Design Patterns
Design patterns can be classified along the following schemes
- Purpose
- Scope
- Functionality
- Structural Principles
- Granularity
- Domain
- Paradigm
- Domain-Dependent
- Process
- Analysis
- Reengineering
- Performance
- Maintenance