应用规划技术
让我描绘一个场景:
将规范交给开发人员 需要通读它并开始他的 项目(网络应用程序)。最多 开发商才刚刚开始 编码并且会做很少的事情 规划。这会导致某些部分延迟或仓促完成,因为它们没有 立即显而易见。
我试图在我们的小型 Web 开发商店中改变这种思维方式,首先让开发人员勾画出所有函数、类、页面、数据库表等。这个想法是整个应用程序可以快速原型化,然后填充实际代码在稍后。
我知道这可以在笔记本或白板上完成,但理想情况下我想要某种软件来在建模后创建类或函数。甚至可能提供一些评论。
这可能吗?该软件存在吗?我只是懒惰吗?
旁注:我想这类似于 API 的规划和实施方式。
Let me sketch a scenario:
A spec is handed to a developer who
needs to read through it and begin his
project (a web application). Most
times the developer will just begin
coding and will do very little
planning. This causes certain sections to be completed late or hastily because they weren't
immediately obvious.
I am trying to change this mindset in our small web development shop by first having the developers sketch out all the functions, classes, pages, database tables, etc. The idea being that an entire application can be quickly prototyped and then the actual code filled in later.
I know this can be done in a notebook or on a whiteboard but ideally I would like some sort of software to create the classes or functions after they have been modelled. Maybe even provide some commenting.
Is this possible? Does the software exist? Am I just being lazy?
Side Note: I imagine this is similar to how an API would be planned and implemented.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我推荐http://www.sparxsystems.com/“企业架构师”解决方案。
MS-VISIO也是很好的解决方案。
I recommend http://www.sparxsystems.com/ "Enterprise Architect" solution.
also MS-VISIO is good solution.
笔记本/白板方法非常适合中型应用程序。我会很谨慎地要求人们首先像这样勾勒出他们的课程。您应该确保的是,需求都已被理解,并且核心部分的设计符合逻辑 - 目标是尝试回答“如何”问题,而不涉及具体的实现细节。
首先绘制类草图的问题是它是上述阶段之后的下一个阶段。当然也有例外,但对于一般的应用程序,我会警惕有人问我将使用哪些类以及哪些确切的方法,即使主体最初可能是空白的。
The notebook / whiteboard approach works quite well for medium-sized applications. I would be careful about requiring people to sketch out their classes first like that. What you should make sure is that the requirements are all understood, and the core parts are designed logically - the goal is to try to answer the "how" question without going into specific implementation details.
The problem with sketching out classes first is that it's the next stage after the above. There are exceptions to this of course, but for an average application I would be wary of someone asking me which classes I will use with which exact methods, even if the bodies can be blank initially.
就像使用 UML 生成代码一样?
http://www.altova.com/umodel/uml-code- Generation。 html
http://netbeans.org/kb/61/uml/codegen .html
http://www.visual-paradigm.com/product /sde/ec/
As in using UML to generate code?
http://www.altova.com/umodel/uml-code-generation.html
http://netbeans.org/kb/61/uml/codegen.html
http://www.visual-paradigm.com/product/sde/ec/
我一直在使用 mindmanger 查看新系统的工作流程,最近我使用 balsamiq 来模拟 UI。我觉得这个组合非常好。
迦特
I have been using mindmanger to view the workflow of the new system and of late am using balsamiq to mock UI. I find this combinaton very nice.
Gath