架构图提示 [英] Architecture diagram tips

查看:65
本文介绍了架构图提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

请提供一些技巧来绘制软件项目的架构图.

在此先感谢您.

hi all,

Please provide me some tips to draw architecture diagram for a software project.

Thanks in advance.

推荐答案

有些软件可以帮助我们完成这类工作.我提供的免费软件很少,或者有30天的免费试用期....只需解决这些问题(我想您知道UML的基础知识)

1. http://www.visual-paradigm.com/product/vpuml/editions/community. jsp [^ ]

2. http://www.smartdraw.com/specials/umldesign.asp [ http://jude.change-vision.com/jude-web/product/community. html [^ ]
There are softwares which will aid us to do these kind of stuff. I am providing few, which are either free or have 30 day trial....Just work around them (I assume you know basics of UML)

1. http://www.visual-paradigm.com/product/vpuml/editions/community.jsp[^]

2. http://www.smartdraw.com/specials/umldesign.asp[^]

3. http://jude.change-vision.com/jude-web/product/community.html[^]


这是您需要的书之一:

Ivar Jacobson,Grady Booch,James Rumbaugh,统一软件开发过程.

此处: http: //www.amazon.com/Unified-Software-Development-Process/dp/0201571692/ref=sr_1_1?ie=UTF8&qid=1327305060&sr=8-1 [ http://en.wikipedia.org/wiki/Unified_Modeling_Language [ http://en.wikipedia.org/wiki/Unified_Software_Development_Process [
Here is one of the books you need:

Ivar Jacobson, Grady Booch, James Rumbaugh, The Unified Software Development Process.

Here: http://www.amazon.com/Unified-Software-Development-Process/dp/0201571692/ref=sr_1_1?ie=UTF8&qid=1327305060&sr=8-1[^].

See also:
http://en.wikipedia.org/wiki/Unified_Modeling_Language[^],
http://en.wikipedia.org/wiki/Unified_Software_Development_Process[^].

For future, please pay close attention on how you ask your question. You should be way more accurate and descriptive. Look at our argument in the comment to my other answer. I really sorry about waste of my time.

Good luck,
—SA


主题范围太广.可能涉及很多设计思想.我们不知道您的要求.

因此,我只能给您一个大建议:使用WPF,将所有图表元素放在Canvas上,请参见
> http://en.wikipedia.org/wiki/Model-view-controller [ ^ ],
http://en.wikipedia.org/wiki/MVVM [ http://msdn.microsoft.com/en-us/library/ms733127.aspx [ ^ ].

另请在我倡导这种方法的地方查看我过去的解决方案:
如何在我的表单应用程序? [ ^ ],
创建属性文件... [反序列化json字符串数组 [
The topic is too broad. There can be a lot of design ideas involved; and we don''t know your requirements.

So, I can give your only one but big advice: Use WPF, place all your diagram elements on Canvas, see http://msdn.microsoft.com/en-us/library/system.windows.controls.canvas.aspx[^].

WPF is designed as if diagramming was one of its primary goal. A lot of functionality which would take major part of design and development time with other libraries is already very well implemented in WPF. In the field of diagramming, even it you used only System.Windows.Forms before and have no idea of WPF, the benefits of this foundation will outweigh the time you may need to learn new library very soon, maybe you will even observe it during first 10% of your time spent on the project.



Another idea is this: create a separate data model for you diagrams. It should be a set of pure-data classes. Of course some classes should describe geometrical and presentation properties of diagram elements: size, color, etc. Try to isolate two parts of the model: logical and geometrical.

Develop separate methods for rendering diagram based on the model and update of the model based on the edit events on the diagram.

I think, the most adequate design pattern for the application is MVC or MVVM (which is designed with WPF as one of its targets in mind). Please see:
http://en.wikipedia.org/wiki/Model-view-controller[^],
http://en.wikipedia.org/wiki/MVVM[^].

For persistence of the data model, use Data Contract. Please see http://msdn.microsoft.com/en-us/library/ms733127.aspx[^].

Please also see my past solution where I advocate this approach:
How can I utilize XML File streamwriter and reader in my form application?[^],
Creating property files...[^],
deseralize a json string array[^].

—SA


这篇关于架构图提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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