设计新应用程序时,首先创建的数据库设计或应用程序设计是什么? [英] When a new application is designed what is created first DB design or application design?

查看:122
本文介绍了设计新应用程序时,首先创建的数据库设计或应用程序设计是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在设计新应用程序时,首先创建的数据库设计或应用程序设计是什么?

When a new application is designed what is created first DB design or application design???

推荐答案

我个人知道了要求(正式的还是不正式的) ,我设计了数据模型来处理需求.然后从那里开始进行构建,包括业务层,持久性,单元测试,最后是GUI.

如果您的数据库是第一次正确设计的,那么一切都应该流
Personally, after I know the requirements (formal or not), I design the data model to handle the requirements. Then build out from there, with the business layer, persistence, unit testing, and then finally the GUI.

If your DB is designed properly the first time, everything should just flow


取决于应用程序,取决于数据,取决于规范.

某些人首先设计数据,其他人设计结构,其他人设计用户界面.在很大程度上,它取决于规范的详细程度(并且不太可能更改).如果它定义了所有细节,那么您可以根据需要从数据开始.如果不是,那么您可能必须根据数据的显示方式和交互方式对数据进行粗略的猜测.

对此没有硬性规定.
Depends on the application, depends on the data, depends on the specification.

Some people design the data first, others the structure, others the user interface. TO a large extent it depends on how detailed (and unlikely to change) the specification is. If it defines everything is good detail, then you can start with the data if you wish. If it doesn''t, then you may have to create a rough guess of the data based on how it will be displayed and interacted with.

There is no hard and fast rule on this.


如果您有用户的所有要求,则可以从db design开始,这是唯一可以启动应用程序开发的事情.

尽可能设计最好的数据库,然后与应用程序一起使用.

较弱的数据库设计将导致应用程序性能降低,工作费用增加并混淆技术决策.
If you have all the requirements of your user then you can start with db design, and that is the only thing which should initiate application development.

Design the best database as you can and then go with application.

A weak database design will results in lower application performance, increase working expenses and confuse technology decisions.


这篇关于设计新应用程序时,首先创建的数据库设计或应用程序设计是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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