Database Abstraction Layer - API Level Abstraction

API Level Abstraction

Libraries unify access to databases by providing a single low-level programming interface to the application developer. Their advantages are most often speed and flexibility because they are not tied to a specific query language (subset) and only have to implement a thin layer to reach their goal. The application developer can choose from all language features but has to provide configurable statements for querying or changing tables. Otherwise his application would also be tied to one database.

Popular use for database abstraction layers are among object-oriented programming languages, which are similar to API level abstraction layers. In an object oriented language like C++ or Java, a database can be represented through an object, whose methods and members (or the equivalent thereof in other programming languages) represent various functionalities of the database. They also share the same advantages and disadvantages as API level interfaces.

Read more about this topic:  Database Abstraction Layer

Famous quotes containing the words level and/or abstraction:

    Those who profess contempt for men, and put them on a level with beasts, yet wish to be admired and believed by men, and contradict themselves by their own feelings—their nature, which is stronger than all, convincing them of the greatness of man more forcibly than reason convinces them of his baseness.
    Blaise Pascal (1623–1662)

    By “object” is meant some element in the complex whole that is defined in abstraction from the whole of which it is a distinction.
    John Dewey (1859–1952)