irisbay.com
 
周四, 2010-09-09
Newsflash

Iris零售业解决方案。适合大型超市、商场、连锁超市和便利超市。

Iris商业管理系统是一款功能齐全、性能稳定的网络版商业管理软件,系统以模块方式构建,便于扩展,灵活配置,适用于多门店、连锁超市及大中型超市使用,在全国各地有大批成功用户。

10种最常见域建模错误 PDF 打印 E-mail
作者:Nick   
2007-09-26 08:00

这个10种UML常见**错误列表是由UML领域的绝对专家Doug Rosenberg总结出的。 Doug Rosenberg目前在ICONIX软件工程公司工作,有近20年的设计系统开发工具培训经验。他于1993年开发了一种统一的 Booch/Rumbauge/Jacobson设计方法,这比Rational的UML早了许多年。他编写了十几种关于对象技术的书。本文是Top 10 UML Errors Lists系列之一:10种最常见域建模错误。

The Top 10 Domain Modeling Errors

10. Don't immediately assign multiplicities to associations.
10.不要立刻给关联指定多重度

9. Don't do such an exhaustive noun and verb analysis that you pass out along the way.
9.不要对名词和动词做过度的分析,这会让你背离初衷

8. Don't assign operations to classes without exploring use cases and sequence diagrams.
8.在没有对用例和时序图进行研究以前不要急于将操作分配给类;

7. Don't optimize your code for reusability before making sure you've satisfied the user's requirements.
7.在没有确保已满足用户需求以前,不要对代码进行提高可重用性优化


6. Don't debate whether to use aggregation or composition for each of your part-of associations.
6.对于每个部分关联,不要就是用聚集还是组合而争论不休

5. Don't presume a specific implementation strategy without modeling the problem space.
5.未对问题空间建模以前不要假定使用某种具体的实现策略


4. Don't use hard-to-understand names for your classes, like cPortMgrIntf, instead of intuitively obvious ones, like PortfolioManager.
4.不要给你的类命名为难以理解的名称如cPortMgrlntf,尽量采用一些直观的名称如PortfolioManager

3. Don't jump directly to implementation constructs such as friend relationships and parameterized classes.
3.不要直接进入到实现级结构,如友元关系和参数化关系


2. Don't create a one-for-one mapping between domain classes and relational database tables.
2.不要在域类和关系数据库表之间建立一对一的映射


1. Don't perform "premature patternization," which involves building cool solutions, from patterns, that have little or no connection to user problems.
1.不要过早地执行“模式化”,这将导致据此创建的貌似很酷解决方案与用户的问题毫无关系

 
Webdesign by Webmedie.dk Webdesign by Webmedie.dk