uml是架構師必備技能
staruml基本概念
staruml是有關OMG UML的應用工具
Project
a top-level element stored as a single file.
Model vs. Diagram
model是具有名稱,類型等定義的實體;
diagram是一種描述軟件領域某一問題的圖示圖表
Fregment
fregment是項目的組成部分,一般是導出project某一部分后的單一文件,后綴:.mfj
什么是UML
有關OGM UML的一些說明;
Structure Diagrams include the Class Diagram, Object Diagram, Component Diagram, Composite Structure Diagram, Package Diagram, and Deployment Diagram.
Behavior Diagrams include the Use Case Diagram (used by some methodologies during requirements gathering); Activity Diagram, and State Machine Diagram. `
Interaction Diagrams, all derived from the more general Behavior Diagram, include the Sequence Diagram, Communication Diagram, Timing Diagram, and Interaction Overview Diagram.
user case diagram
從用戶角度描述系統功能,并指出功能的操作者。
class diagram
類圖:描述系統中類的靜態結構
package diagram
包圖:是包和類組成的,表示包與包之間的關系,包圖描述系統的分層結構
object diagram
對象圖:是類圖的實例
activity diagram
描述了業務實現用例的工作流程
component diagram
組件圖(component diagram)是用來反映代碼的物理結構。從組件圖中,您可以了解各軟件組件(如源代碼文件或動態鏈接庫)之間的編譯器和運行時依賴關系。使用組件圖可以將系統劃分為內聚組件并顯示代碼自身的結構。
statechart diagram
狀態圖(Statechart Diagram)是描述一個實體基于事件反應的動態行為,顯示了該實體如何根據當前所處的狀態對不同的事件做出反應。通常我們創建一個UML狀態圖是為了以下的研究目的:研究類、角色、子系統、或組件的復雜行為。
deployment diagram
用來顯示系統中軟件和硬件的物理架構。從部署圖中,您可以了解到軟件和硬件組件之間的物理關系以及處理節點的組件分布情況。使用部署圖可以顯示運行時系統的結構,同時還傳達構成應用程序的硬件和軟件元素的配置和部署方式。
sequence diagram
對象之間的動態合作關系,強調對象發送消息的順序,同時顯示對象之間的交互