Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Design Pattern & UML  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 忽然间我感到了一点困惑:设计与实践(框架)
worldcreatxr





发贴: 149
积分: 0
于 2004-07-14 07:35 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
忽然间我感到了一点困惑:设计与实践(框架)
如何才能进行正确地设计,使得设计不倚赖于框架,但实施的时候又能用上框架?
也许我说的还不太清楚,我不知应怎么问,请大家多多指教,谢谢



我是世界的缔造者!
作者 Re:忽然间我感到了一点困惑:设计与实践(框架) [Re:worldcreatxr]
heaven



CJSDN高级会员


发贴: 185
积分: 51
于 2004-07-14 11:46 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我的理解:你说的设计也许是指业务分析(business analysis),它当然不应该考虑框架。


别拿感情的事问我,自己的感情要自己体会
作者 Re:忽然间我感到了一点困惑:设计与实践(框架) [Re:worldcreatxr]
spi_cn





发贴: 194
积分: 32
于 2004-07-14 19:28 user profilesend a private message to usersend email to spi_cnsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
个人理解:信息系统的建设包括两个大过程,一个是需求分析阶段的“分”过程,即将系统黑盒子分解成“过程 + 数据(sa)”或者“对象(oo)”,该阶段oo特别适合,类似于庖丁解牛;另一个是设计阶段的“合”过程,即将前一阶段的“过程+数据”或者“对象”与应用环境(j2ee或.net)结合起来,该阶段适合采用框架、模式,类似于建筑工程中的采用模具来成模。


作者 Re:忽然间我感到了一点困惑:设计与实践(框架) [Re:worldcreatxr]
yolaiyoqu





发贴: 7
积分: 0
于 2004-09-23 10:10 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
设计分为两个阶段,概要设计和详细设计,概要设计当然最好不考虑框架,详细设计是不能不考虑框架的--个人之见


作者 Re:忽然间我感到了一点困惑:设计与实践(框架) [Re:worldcreatxr]
LuckyReport





发贴: 6
积分: 0
于 2004-09-23 15:09 user profilesend a private message to usersend email to LuckyReportsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
你的定义比较奇怪
你说的框架是不是象STRUTS之类的东东?
我认为这东西在你实践的时候自然会考虑到,在总体设计时,不会去过多考虑



LuckyReport -- Java Reporting Tools
http://lr.agreatserver.com
支持交叉表、子报表、图表,实现了分组、参数、交互、钻取等功能
可以输出HTML、PDF、XLS、RTF、CSV、XML等
可以与任意J2EE服务器集成

作者 Re:忽然间我感到了一点困惑:设计与实践(框架) [Re:worldcreatxr]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-09-23 22:24 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
This is a very good question.

The short answer is, nobody knows.

If I tell you something is right, something else is wrong. You can pick it up quickly. For example, most of jdk APIs are in this categories. It's black and white, easy to make a judgement. However, design is not as easy as this, it's kind of grey. This is where we need/build up experience. We want to make our designs as much independent of any concrete tools as possible, but we still have to build it based on something concrete. So the question is where to draw the line between these two. MDA is on the way to solve this problem, but still no there yet. This is a very hard problem because almost every design is different and thus it's hard to see the common patterns. Every design is an abstraction of something in the real world, solving this problem requires another abstraction of those design, so there are two levels of abstractions.

In my practice, I pay special attention and efforts on drawing the line between design and implementation, both at the design level and implementation level, since I found, there are some issues which exist between design and implementation levels but disappear at the design level(Lewis Ship, the tapestry guy, once noticed this too in his weblog, others noticed this much earlier).

MDA is a good starting point for this question, but is far from solving it. Experience still dominates this grey area, although there are certain rules we can follow in certain specific areas.

my 2cents



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2018 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923