在1,2,3层中,哪种架构最有效地维护数据库?优点和缺点1,2,3层架构。 [英] among 1,2,3 tier which architecture is best to maintain database efficiently?and advantages and disadvantages 1,2, 3 tier architectures.

查看:87
本文介绍了在1,2,3层中,哪种架构最有效地维护数据库?优点和缺点1,2,3层架构。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生/妈妈

我是一名入门级程序员并且感到困惑,这是使用1层或2层或3层架构开发项目的最佳方式。这将提供最简单的方法来维护数据库。如果我选择1层架构有什么优缺点?

请解释

在此先感谢。

sir/mam
iam an entry level programmer and getting confusion which is the best way to develop a project by using 1tier or 2tier or 3tier architecture. and which will give easiest way to maintain database. if i select 1 tier-architecture what are the advantages and disadvantages?
Please explain
Thanks In Advance.

推荐答案

这是一个疯狂的问题。层数没有固定的好处,除了一层更易于构建并且通常更难维护,因为它最终意味着代码全部捆绑在一起。将您的数据代码放在DLL中直接用于在一年内使用它,但最终的重点是拥有它以便可以轻松地将其与其他代码分开。真的最好的办法是购买一些书籍,编写一些代码,并从经验中学习。
This is a crazy question. The number of tiers does not have fixed benefits except that one tier is easier to build and usually harder to maintain because it ends up meaning that the code is all bundled together. Having your data code in a DLL is directly useful to consume it in a year bed, but ultimately the point is to have it so it can be easily separated from the other code. Really your best bet is to buy some books, write some code, and learn from experience.


阅读此链接。



N层架构和提示 [ ^ ]



希望这会有所帮助......
Have a read on this link .

N-Tier Architecture and Tips[^]

Hope this helps...


这篇关于在1,2,3层中,哪种架构最有效地维护数据库?优点和缺点1,2,3层架构。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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