首页 > 其他 > 详细

业务领域建模Domain Modeling

时间:2019-11-24 12:17:01      阅读:79      评论:0      收藏:0      [点我收藏+]

使用领域建模可以对现实中的事务进行充分的抽象,让我们发掘重要的业务领域概念,同时建立各个业务领域之间的联系,让我们对业务有更加清晰的认识。

·如何进行领域建模?

1)  Collect application domain information
– focus on the functional requirements – also consider other requirements and documents

我的工程实践项目是搜索引擎的设计与实现,系统的主要功能需求包括信息搜索,条件检索,用户的登录注册等。用户可根据自己的需要输入关键字或设置检索条件,从返回的搜索结果进行条件过滤。

 2) Brainstorming
– listing important application domain concepts – listing their properties/attributes – listing their relationships to each other

用户:用户可注册/登录/注销,用本应用进行互联网信息检索,并设置过滤条件。可收藏感兴趣页面,进行数据的导出和分享。

管理员:主要负责数据的爬取/清洗/更新,为数据建立索引,建立维护数据库,对用户组进行管理,系统的更新和维护。

3) Classifying the domain concepts into:
– classes – attributes / attribute values – relationships
• association, inheritance, aggregation

属性

方法

用户

用户ID,密码,收藏

注册,登录,注销,信息检索,过滤,收藏,数据导出,页面分享

管理员

管理员ID,密码,权限

用户组管理,爬取数据,清洗数据,更新数据,删除数据,建立索引

4) Document result using UML class diagram

 技术分享图片

 

 

 

业务领域建模Domain Modeling

原文:https://www.cnblogs.com/zxy1122/p/11921728.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!