Content deleted Content added
No edit summary |
No edit summary |
||
Line 2:
A '''data access layer''' (DAL) in computer software, is a [[layer (object-oriented design)|layer]] of a [[computer program]] which provides simplified access to [[data]] stored in [[persistent storage]] of some kind, such as an [[entity relationship|entity-relational]] [[database]].
For example, instead of using commands such as ''insert'', ''delete'', and ''update'' to access a specific table in a database, a class and a few stored procedures could be created in the database. The procedures would be called from a method inside the class, which would return an object containing the requested values. Or, the insert, delete and update commands could be executed within simple functions like ''registeruser'' or ''loginuser'' stored within the data access layer.
|