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.
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.
相关文章推荐
- JavaScript基本概念(一)--- 基本语法
- js之类似trim功能函数
- Angularjs1.x 项目结构
- Html5添加移动触摸设备的在线签名和涂鸦插件教程
- 学习使用grunt来打包JavaScript和CSS程序的教程
- Chrome调试js出现Uncaught SyntaxError: Unexpected identifier
- AngularJs基础——过滤器filter及自定义过滤器filter
- jQuery AJAX实现调用页面后台方法
- 浅析JQuery中的html(),text(),val()区别
- jQuery轻量级响应式图片轮播插件ResponsiveSlides.js(仅1kb)
- 详解AngularJS中的filter过滤器用法
- HTML 速查列表
- html+css学习笔记
- HTML5的学习(一)HTML5标签
- 使用自定义透明Dialog样式的Activity
- JavaScript 调试常见报错以及修复方法
- jQuery提示插件alertify使用指南!
- jQuery插件之jQuery.Form.js用法实例分析(附demo示例源码)
- css 笔记——设置禁用中文输入法
- javascript进击(九)参考手册