Summary: | 碩士 === 國立中央大學 === 資訊工程研究所 === 87 === Recently, design patterns have been given increasing attention in software engineering, as it supports a possible solution for programmers to design a better program with less cost. As a result, a number of researchers have reported progress toward developing more and more design in different aspects. However, though selecting a good design pattern is a critical issue, there is no systematic way to guide analyzers to use design patterns. On the other, relationships between design patterns are important while using applying design patterns to user''s design, no attempt has been to address this issue.
In this research, we have proposed an approach to seeking possible design patterns based on properties of sequence diagrams and our classifications to design patterns. Essentially, a message''s type (e.g., reflexive, activation and creation) and its design cardinality in the sequence diagram offers important cue to filter possible design patterns. An classification based on design patterns'' functional information is also crucial to our approach.
Relationships between design patterns, especially conflicting relationships, are discussed in our research. We have indicated two kinds of conflict between design patterns: divergent roles and side effect. Possible solution to these conflicts are also discussed in this research.
|