如何使用3层架构开发项目 [英] How to develop a project using 3-Tier Architecture

查看:67
本文介绍了如何使用3层架构开发项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我接受了采访,为此我需要学习一些概念.
我在3层架构中进行了大量搜索,并从下面的链接中了解了这一概念,
1.lokeshchadha.blogspot.in/2012/06/3-tier-architecture-example-in-aspnet.html
2.www.dotnetfunda.com/articles/article71.aspx.
现在我的疑问是,
1.在第一种方法中(第一个链接)
我不明白该如何传递在BL中定义的参数.
2.第二种方法(第二个链接)
BL中没有分离的逻辑,这里只需调用DL方法,
并在PL中再次创建BL的obj并调用BL方法,这里BL的用途是什么.
我对这个概念是陌生的,这就是为什么我有这些疑问.
任何人都可以澄清我的疑问或给我一个简单的示例,清楚地说明有关3层体系结构的问题.

Hi,
I have an interview ,for this I need to learn some concepts.
I searched a lot for 3-Tier architecture.I read about this concept from the below links,
1.lokeshchadha.blogspot.in/2012/06/3-tier-architecture-example-in-aspnet.html
2.www.dotnetfunda.com/articles/article71.aspx.
now my doubts are,
1.In first method(first link)
I am not understand how was the parameters are passed those are defined in BL.
2.In second method(second link)
there is no separete logic in the BL,here just call the DL methods,
and in PL again created obj of BL and call the BL methods,here what is the use of BL.
I am new to this concept that''s why I got these doubts.
Can anybody clarify my doubts or give me simple example that clearly explains about 3-Tier architecture.

推荐答案

如果您是这个概念的新手,那么您不应该不能指望能做到这一点的好工作.一个白痴可能不会发现您在前一天从网络上得到了一些随机答案,但是任何在此基础上给您工作的人都会后悔在那里工作.花一个月左右的时间做一个基本的三层应用程序,然后开始工作.我住的地方还不够,但您做的地方可能就足够了.这将意味着您可以回答实际的问题,而不必重复我们告诉您的内容并希望它们是他们想听到的内容.
If you''re new to the concept, then you shouldn''t expect to get a good job that does them. A moron might not spot that you got some random answers off the web the day before, but anyone who gives you a job on that basis, you''ll regret working there. Spend a month or so doing a basic three tiered app, then start going for jobs. It''s not really enough where I live, but where you do, it probably is. It will mean you can answer actual questions instead of repeating what we told you and hoping it''s what they want to hear.


这篇关于如何使用3层架构开发项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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