公用技术——面向对象领域——UML图——《The Unified Modeling Language User Guide》V2读书笔记——第一章节(建模的意义)
第一章节到第三章节介绍UML的基本概念。第一章节主要介绍了UML语言的历史,介绍了建模的重要性(狗窝,房子,大厦),介绍了UML要实现哪些目标,在最后介绍了在使用UML语言时应该遵循的一些原则或者是规范。

1、建模的重要性
原文:we build models of complex systems because we cannot comprehend such a system in its entirety。
这句话的意思翻译过来即:对于复杂系统,我们的理解能力有限。具体体现在以下几个方面。
原文:
1、we build models to communicate the desired structure and behavior of our system
2、we build models to visualize and control the system’s architecture and behavior of our system
3、we build models to better understand the system we are building,often exposing opportunities for simplification and reuse
4、we build models to manage risk
这几句话可以理解为用途,也可以理解为它的重要性。
1、 在需求阶段(inception),为了理解系统的需求。
2、 在构建阶段(construct),可视化系统的结构。
3、 在迭代阶段(transition),为了更好的理解系统,优化系统。
4、 在整个阶段,掌控系统的风险。
2、建模的好处或目标
构建模型的目标包含visualizing,specifying,constructing,documenting。分别对应下面的原文
1、Models help us to visualize a system as it is or as we want it to be.
(模型将系统可视化,让我们理解它会变成什么样子,我们期望系统的样子)
2、Models permit us to specify the structure or behavior of a system.
(模型允许我们指定系统的结构和交互行为)
3、Models give us a template that guides us in constructing a system.
(模型为我们构造一个系统的模板,从各种角度去理解系统)
4、Models document the decisions we have made。
(模板可以将我们的决策文档化,减少系统失败的风险)。
3、建模原则
1、 The choice of what models to create has a profound influence on how a problem is attacked and how a solution is shaped
(选取哪种模型取决于问题以及问题的解决方案。)
2、 Every model may be expressed at different levels of precision
(每种模型向不同角色展示他们想要了解的内容,这决定了模型的粒度)
3、 The best models are connected to reality。
(最好的模型能够真实反映现实中的事物)
4、 No single model or view is sufficient. Every nontrivial system is best approached through a small set of nearly independent models with multiple viewpoints
(构建系统需要不同的视角,不同的粒度,不同的模型,使用单一模型来构建系统是不够的)
4、建模方式
有两种通俗的建模方式,algorithmic perspective and an object-oriented perspective。
1、 algorithmic perspective:the main building block of all software is the procedure or function,this view developers to focus on issue of control and the decomposition of large algorithmic into small one
(程序大部分都是存储过程或函数,开发者主要就是将大的流程拆分为小的功能)
2、 object-oriented perspective:the main building block of all software is the object or class. Simply but,an object is a thing,generally drawn from the vocabulary of the problem or the solution space
(程序大部分都是对象和类,对象就是现实问题转换为编程问题的一个名词)
这两种方式被称为面向过程与面向对象的开发方式。
公用技术——面向对象领域——UML图——《The Unified Modeling Language User Guide》V2读书笔记——第一章节(建模的意义)的更多相关文章
- UML类图(Unified Modeling Language Class Diagrams)
统一建模语言(UML) | 类图 什么是UML? UML是一种用于可视化描述系统,具有广泛用途的建模语言.作为一种标准化的图形语言,在软件工业中被用于软件系统部件的具体化,可视化,结构化描述以及撰写 ...
- UML(Unified Modeling Language)统一建模语言
什么是模型 模型是对现实的简化 模型是提供系统的蓝图,模型可是包括详细计划.也可是是从更高程度考虑系统的总体计划,每个系统可以从不同的方面用不通过的模型来描述.因而每个模型都是在语义上闭合的抽象系统. ...
- 统一建模语言(UML,Unified Modeling Language)
Something about UML: 统一建模语言(UML,英语:Unified Modeling Language)是非专利的第三代建模和规约语言.UML是一种开放的方法,用于说明.可视化.构建 ...
- 学习笔记之UML ( Unified Modeling Language )
Unified Modeling Language - Wikipedia https://en.wikipedia.org/wiki/Unified_Modeling_Language The Un ...
- The Unified Modeling Language(UML)
统一过程建模语言UML 统一过程建模语言UML是一种标准的可视化建模语言,使用在: 业务建模和类似的过程 居于软件系统的分析.设计.和实现 UML 是一门通用语言,提供给业务分析员,软件架构师和开发 ...
- UML(Unified Modeling Language)同一建模语言
wiki定义: UML is a general-purpose, developmental, modeling language in the field of software engineer ...
- JS高程读书笔记-第一、二章-内附在线思维导图和quizlet卡片
之前在kindle上买了高程,今天又到了纸质的<JavaScript语言精粹>,<高性能JavaScript>,<JavaScipt设计模式>,开始读书之旅啦. 我 ...
- 深入浅出图神经网络 第6章 GCN的性质 读书笔记
第6章 GCN的性质 第5章最后讲到GCN结束的有些匆忙,作为GNN最经典的模型,其有很多性质需要我们去理解. 6.1 GCN与CNN的区别与联系 CNN卷积卷的是矩阵某个区域内的值,图卷积在空域视角 ...
- Unified Modeling Language
https://en.wikipedia.org/wiki/Unified_Modeling_Language
随机推荐
- <img src = "..."/>的一个图片上面怎么在放上字
转自:https://zhidao.baidu.com/question/1495805873400412779.html 例子1: html中可以用css相对定位让文字在图片的上面. 1.新建htm ...
- L2-3 名人堂与代金券
题解 这题的话,每一个人都要占一个排名,即使排名并列了. 对于最后一个排名来说,即使人数超过了指定的k,也要加入. 代码 #include <bits/stdc++.h> using na ...
- 解决“(1146, "Table 'mydb.django_session' doesn't exist")”报错的方法
执行 ./manage.py makemigrations sessions ./manage.py migrate sessions
- Servlet文件上传下载
今天我们来学习Servlet文件上传下载 Servlet文件上传主要是使用了ServletInputStream读取流的方法,其读取方法与普通的文件流相同. 一.文件上传相关原理 第一步,构建一个up ...
- centos useradd 命令详解
useradd 命令 Usage: useradd [options] LOGIN useradd -D useradd -D [options] Options: -b, --base-dir BA ...
- LED Decorative Light Supplier - Decorative Use Of LED Light Strips
Led strip refers to the led assembly in the ribbon of the FPC (flexible circuit board) or PCB hard b ...
- Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()
今天遇到一个错误,没有定义一个openssl_cipher_iv_length()方法,可是我明明开启OpenSSL了啊 如果开启了还报错 只需要把php的目录加入环境变量 -重启电脑 就解决了 但 ...
- Oracle创表操作记录
Oracle表操作 --主键,复合主键 create table example (id number primary key, name varchar2(20)); create table ex ...
- 通过maven 打docker 镜像包,出错ADD failed: stat /var/lib/docker/tmp/docker-builderXXXXXX: no such file or dir
出现问题的原因很简单,没有maven打包生成jar包.
- vue 实现上一周、下一周切换功能
效果图: html 显示部分: js 显示部分: preNextBtn(val){ let _this = this; this.tableList = []; //数据重置为空 _this.show ...