问题描述
我是Web开发的新手.阅读有关n层架构的信息,并有一个非常基本的疑问.我的项目使用带有存储过程和sql函数的SQL Server来访问数据.用于访问这些存储过程和功能的代码以及业务逻辑被组合到单个dll中.后面的aspx代码将调用dll.这是3层还是2层架构?由于我们使用的是存储过程,因此拥有单独的数据库访问层的好处是什么.拥有单独的数据库访问层是否可以提高性能?
Kavya
Hi,
I am new to web development. Read about n tier architecture and have a very basic doubt. My project uses SQL Server with stored procedures and sql functions to access the data. The code for accessing these stored procedures and functions and the business logic are combined into a single dll. The aspx code behind calls the dll. Is this a 3 tier or 2 tier architecture? Since we are using stored procedures , what would be the advantages of having a separate DB access layer. Will having a separate DB access layer improve the performance?
Kavya
推荐答案
这篇关于什么是架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!