Content deleted Content added
m Change link from entity-relational database to entity relationship. |
No edit summary |
||
Line 10:
Also, business logic methods from an application can be mapped to the Data Access Layer. So, for example, instead of making a query into a database to fetch all users from several tables the application can call a single method from a DAL which abstracts those database calls.
Applications using a data access layer can be either database server dependent or independent.
[[Object-Relational Mapping]] tools provide data layers in this fashion, following the [[Active record pattern|active record]] model. The ORM/active-record model is popular with web frameworks, but it has not been proven to be better than a straightforward approach of implementing a collection of ___domain-specific data access functions.
|