Data access layer: Difference between revisions

Content deleted Content added
No edit summary
Added Data Mapper pattern and link to ORM.
Line 9:
Applications using a data access layer can be either database server dependent or independent. If the data access layer supports multiple database types, the application becomes able to use whatever databases the DAL can talk to. In either circumstance, having a data access layer provides a centralized ___location for all calls into the database, and thus makes it easier to port the application to other database systems (assuming that 100% of the database interaction is done in the DAL for a given application).
 
[[Object-Relational Mapping]] tools provide data layers in this fashion, following the [[Active record pattern|activeActive recordRecord]] modelor [[Data mapper pattern|Data Mapper]] patterns. The [[Object-relational mapper|ORM]]/active-record model is popular with web frameworks.
 
==See also==