1w50: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 41: Line 41:
== Pree ==
== Pree ==
Pree classification is based on the structure of the design pattern.  
Pree classification is based on the structure of the design pattern.  
*Basic inheritance and interaction patterns
*Patterns for structuring object-oriented software systems
*Patterns based on recursive structures 
*Patterns relying on abstract coupling
*Patterns related to the MVC-framework


'''basic inheritance and interaction patterns '''
== Zimmer ==
'''patterns for structuring object-oriented software systems'''
Zimmer classification provides a new classification of the GoF design pattern proposed by Gamma et all. Three kinds of relationships are defined and a pattern is categorized based on what relationship it supports.
'''patterns based on recursive structures'''
*X uses Y in its solution
'''patterns relying on abstract coupling'''
X uses a design pattern Y as part of its solution.
'''patterns related to the MVC-framework'''
 
*Variant of X uses Y in its solution
X may or may not utilize Design pattern Y as part of its solution.
 
*X is similar to Y
X and Y address a similar kind of problem.

Revision as of 03:03, 4 October 2012

Buschman et al

According to Buschman, classification is based on three criteria. The functionality criteria classifies patterns based on the specific functionality that the design pattern will be used for. The structural principles classifies patterns based on the architectural patterns that the design pattern is utilizing.

Functionality Structural Principle
Creation Abstraction
Communication Encapsulation
Access Separation of concerns
Computation of complex tasks Coupling and cohesion

Patterns which belong to the sub category creation specify the manner in which to instantiate certain complex recursive or aggregate object structures. Patterns belonging to the subcategory communication describes the communication protocol to be followed during the remote or independent development of certain collaborating objects. Patterns of the access category will describe the scope of a particular object. Patterns belonging to the category organizing the computation of complex tasks specify the way in which responsibility can be allocated among collaborating objects.

Patterns belonging to the subcategory abstraction gives an abstract overview of functionality in a software system. Patterns belonging to the subcategory encapsulation hide details of objects to eradicate dependencies.Patterns in the subcategory separation of concern segregates specific responsibilities into different objects or components to solve a particular task or provide a certain service. Patterns belonging to the category coupling and cohesion will ease out the structural and communicational dependencies between strongly coupled objects.


Coad

Coad organizes his pattern classification around a certain pattern which will further serve as a template for other patterns that follow.

Pattern Description
fundamental pattern template for other patterns
aggregate patterns patterns that interact with transaction players
plan patterns patterns that interact with a plan player
interaction patterns Patterns which interact with the other players


Pree

Pree classification is based on the structure of the design pattern.

  • Basic inheritance and interaction patterns
  • Patterns for structuring object-oriented software systems
  • Patterns based on recursive structures
  • Patterns relying on abstract coupling
  • Patterns related to the MVC-framework

Zimmer

Zimmer classification provides a new classification of the GoF design pattern proposed by Gamma et all. Three kinds of relationships are defined and a pattern is categorized based on what relationship it supports.

  • X uses Y in its solution

X uses a design pattern Y as part of its solution.

  • Variant of X uses Y in its solution

X may or may not utilize Design pattern Y as part of its solution.

  • X is similar to Y

X and Y address a similar kind of problem.