Content deleted Content added
Adding local short description: "Application programming interface", overriding Wikidata description "software architecture layer" |
|||
(4 intermediate revisions by 4 users not shown) | |||
Line 1:
{{Short description|Application programming interface}}
{{More citations needed|date=September 2014}}
A '''database abstraction layer''' ('''DBAL'''<ref>{{cite book|
== Database levels of abstraction ==
=== Physical level (lowest level) ===
The lowest level connects to the database and performs the actual operations required by the users. At this level the conceptual instruction has been translated into multiple instructions that the database understands. Executing the instructions in the correct order allows the DAL to perform the conceptual instruction.
Line 18:
=== External or view level ===
The external level is exposed to users and developers and supplies a consistent pattern for performing database operations.
<ref>{{Cite web|url=http://www.dmst.aueb.gr/dds/etech/db/abstr.htm|title = Levels of Abstraction}}</ref> Database operations are represented only loosely as SQL or even database access at this level.
Every database should be treated equally at this level with no apparent difference despite varying physical data types and operations.
Line 30:
An example of a database abstraction layer on the language level would be [[ODBC]] that is a platform-independent implementation of a database abstraction layer. The user installs specific [[driver software]], through which ODBC can communicate with a database or set of databases. The user then has the ability to have programs communicate with ODBC, which then relays the results back and forth between the user programs and the database. The downside of this abstraction level is the increased overhead to transform statements into constructs understood by the target database.
Alternatively, there are thin wrappers, often described as ''lightweight'' abstraction layers, such as OpenDBX<ref>{{cite web |url=https://www.linuxnetworks.de/doc/index.php?title=OpenDBX |title=OpenDBX
== Arguments ==
Line 49:
== References ==
{{reflist}}
{{Database}}
|