1 / 22

ARCHITECTURAL MODELING

ARCHITECTURAL MODELING. 主講人 : 李榮華. Outline. Deployment Deployment Diagrams Collaborations Patterns and Frameworks. Deployment- Node and connections.

nicolasm
Télécharger la présentation

ARCHITECTURAL MODELING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ARCHITECTURAL MODELING 主講人:李榮華

  2. Outline • Deployment • Deployment Diagrams • Collaborations • Patterns and Frameworks

  3. Deployment-Node and connections • Node:A node is a physical element that exists at run time and represents a computational resource,generally having at least some memory and,often,processing capability. • Ref.P361,Fig. 26-2 • Connections:An association represents a physical connection among nodes. • Ref.P363,Fig 26-4

  4. Deployment Diagram

  5. Deployment Diagram-Common Modeling Techniques • Modeling an Embedded System Ref.p412.fig30-2 • Modeling a Client/Server System Ref.p414.fig30-3 • Modeling a Fully Distributed System Ref.p415.fig30-4

  6. Collaborations • A collaboration is a society of classes,interfaces,and other elements that work together to provide some cooperative behavior that’s bigger than the sum of all its parts.

  7. Modeling the Realization of a Use case and an Operation • Modeling the Realization of a Use Case Ref.P376,fig 27-5 • Modeling the Realization of an operation Ref.P377,fig27-6

  8. Patterns and frameworks • Patterns:A patterns provides a common solution to a common problem in a given context. • Framework:A framework is typically an architectural pattern that provides an extensible template for applications within a domain.

  9. Mechanisms • A mechanism is just another name for a design pattern that applies to a society of classes. • Mechanisms show up in two ways: • Collaborations.(p382,fig28-1) • Parameterized Collaborations.(p385,fig28-2)

  10. Modeling Design Patterns • Identify the common solution to the common problem and reify it as a mechanism. • Model the mechanism as a collaboration,providing its structural,as well as its behavioral,aspects. • Identify the elements of the design pattern that must be bound to elements in a specific context and render them as parameters to the collaboration. • Ref.p388,fig28-4

  11. Modeling Architectural Patterns • Harvest the framework from an existing,proven architecture • Model the framework as a stereotyped package,containing all the elements(and especially the design patterns)that are necessary and sufficient to describe the various views of that framework. • Expose the slots,tabs,knobs,and dials necessary to adapt the framework in the form of design patterns and collaboration.For the most part,this means making it clear to the user of the pattern which classes must be extended,which operations must be implemented ,and which signals must be handled.(Ref.P386,fig28-3)

More Related