1w50: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Buschman ==  
== 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.


{| class="wikitable"
{| class="wikitable"
|-
|-
! Functionality !! Structural Principle  
! Functionality !! Structural Principle
|-
|-
| Creation || Abstraction   
| Creation || Abstraction   
Line 12: Line 15:
|-
|-
| Computation of complex tasks || Coupling and cohesion
| 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.
{| class="wikitable"
|-
! 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
|}
|}

Revision as of 02:35, 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