A brief summary of UML & Rational Rose –General, Part I
根据一些UML知识和项目经历,利用业余时间,我简单总结了一系列关于UML和Rational Rose的文章,包括一些易混淆的概念和UML Diagrams的基本使用规则。希望这些对你有帮助,如果发现有错误,请告诉我。谢谢!
------
For my knowledge and project experience, I write a series of postings about how to use UML and Rational Rose in my spare time, which contain some confused concepts and some basic rules to use UML diagrams. I hope it's helpful for you. However, if there is something wrong, please let me know. Thanks.
********************************
1. Why use UML?
A formal design notation is important in the following aspects.
- Establishing a blueprint from the application
- Establishing and planning the time and materials
- Communicating between teams, and within a team
- Documenting the project
2. UML Essential Notation and Core Concepts
- Use Case Diagram
- Sequence & Collaboration Diagram
- Class & Object Diagram
- Activity Diagram
- Statechart Diagram
- Component Diagram
- Deployment Diagram
The following image from Rational shows all UML diagrams.
3. Four Views in a Rational Rose
3.1 Use Case View
Use Case view includes all the actors, use cases and Use Case diagrams in the system. It might include some Sequence and Collaboration diagrams. The Use Case view is an implementation-independent look at the system. It focuses on a high-level picture of what the system will do, without worrying about the details of how will do it.
3.2 Logical View
Logical view focuses on how the system will implement the behavior in the use cases. It provides a detailed picture of the pieces of the system, and describes how the pieces interrelate. The Logical view includes among other things the specific classes that will be needed, the Class diagrams and the State transition diagrams. With these detailed elements, developers can construct a detailed design for the system.
3.3 Component view
Component view contains information about the code libraries, executable files, runtime libraries and other components in your model. A component is a physical module of code.
3.4 Deployment view
Deployment view is concerned with the physical deployment of the system, which may differ from the logical architecture of the system.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?