如果你不设计UML,那么你在设计什么? [英] If you don't design in UML, then what do you design in?

查看:133
本文介绍了如果你不设计UML,那么你在设计什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被教导在UML中绘制图表,以查看类,对象和参与者/系统之间的交互等等。然而,我在这里看到几个答案,说明UML是一个文档工具,而不是一个设计工具。



如果您不使用UML,如何以图形方式描绘设计?

解决方案

Scott Ambler有一个他的网站上的伟大的表列出了通常用于软件项目的所有图表,以及示例链接。



我发现UML图有用的,但是我一直对一切一盒子的心态感到厌烦。



编辑:我倾向于尽可能远离UML建模工具,因为创建行为形式图不可避免地会产生抛光的压力,直到它看起来像一个优质的产品(不管图表本身有多少价值)。



直到最近,大多数UML编辑器在整理图中几乎没有帮助。在两个框之间画一条直线,中间出现扭结,因为元素不是绝对水平的。我看到开发人员浪费时间,只是想让所有的线条水平或45度。我个人最喜欢的编辑器是 MagicDraw ,但企业架构师似乎非常受欢迎,所以我也很使用它。



当我在团队内进行建模时,我使用UML + DFD +用户界面草图,直到每个人都开心,然后拍摄数码照片并将其发布到项目网站上。如果它证明是非常有用的,它可能会持续足够长的时间来正式化 - 但大多数情况下不会。


I was taught to draw diagrams in UML to see the interactions between classes, objects, and participants/the system and so on. However, I've seen several answers here stating the UML is a documentation tool and not a design tool.

How do you depict designs graphically if you don't use UML?

解决方案

Scott Ambler has a great table on his website that lists all the diagrams typically used on software projects, with links to examples.

I find the UML diagrams useful but am continually annoyed by the 'everythings a box' mentality.

EDIT: I tend to stay away from UML modelling tools as much as possible, because the act of creating a formal diagram inevitably creates pressure to 'polish' it till it looks like a quality product (regardless of how much value is in the diagram itself).

It doesn't help that until recently most UML editors provided little help in tidying diagrams, e.g. draw a straight line between two boxes and a 'kink' appears in the middle because the elements are not absolutely horizontal. I've seen developers waste hours just trying to get all the lines horizontal or at 45 degrees. My personal favourite editor is MagicDraw, but Enterprise Architect seems to be very popular so I use it a lot as well.

When I do modelling inside the team I use UML + DFD + User Interface sketches till everyone is happy, then take a digital photo and post it on the project website. If it proves very useful it may last long enough to be 'formalized' - but most don't.

这篇关于如果你不设计UML,那么你在设计什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆