您的位置:首页 > Web前端

What is the difference between DAO and DAL?

2016-01-04 15:01 696 查看
What is the difference between DAO and DAL?

The Data Access Layer (DAL) is the layer of a system that exists between the business logic layer and the persistence / storage layer.

A DAL might be a single class, or it might be composed of multiple Data Access Objects (DAOs).

It may have a facade over the top for the business layer to talk to, hiding the complexity of the data access logic.

It might be a third-party object-relational mapping tool (ORM) such as Hibernate.

DAL is an architectural term, DAOs are a design detail.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: