什么是3层编程 [英] what is a 3 layer programing

查看:142
本文介绍了什么是3层编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我霍尔,

我是Code项目的新手,我现在正努力提高我的编程技巧。我正在使用C#.Net,我想了解更多关于3层编程的信息。



谢谢

Bhunny

解决方案

与4层相同,不使用其中一个层。 :-)



更严重的是,看看我对这个问题的评论以及这里:

http://en.wikipedia.org/wiki/Multilayered_architecture [ ^ ],

http:/ /en.wikipedia.org/wiki/Multi-tier_architecture [ ^ ]。



不多,对吧?这是因为这些概念过于笼统。尽管使用3是一种非常流行的做法,但没有一位认真的作者会坚持认为这三者在基本和普遍的重要性。硬编码立即常数是坏的,为什么硬切削架构应该是好的?



-SA

I Hall,
I am new in Code project, I am now trying to emprove my skills on programing. I am using C#.Net and I would like to understand a little bit more about 3layer programing.

Thank you
Bhunny

解决方案

Same as 4 layer, only one of those layers is not used. :-)

More seriously, look at my comment to the question and also here:
http://en.wikipedia.org/wiki/Multilayered_architecture[^],
http://en.wikipedia.org/wiki/Multi-tier_architecture[^].

Not much, right? This is because the notions are way too general. And even though using 3 is a very popular practice, no serious author will insist on those 3 as fundamentally and universally important. Hard-coding immediate constants is bad, why hard-cut architectures should be good?

—SA


这篇关于什么是3层编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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