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:

    “... when you do get a job everybody says, “Well, they wanted a black woman,” which necessarily puts you on a level where you have to prove yourself above being a woman and being black.... Now, I would say, in certain situations, it helped me simply because I was mildly attractive, not because I was black or a woman. That gets you more mileage than anything else.... God help you if you’re not an attractive woman.”
    —Theresa Brown (b. 1957)

    “When truth is nothing but the truth, it’s unnatural, it’s an abstraction that resembles nothing in the real world. In nature there are always so many other irrelevant things mixed up with the essential truth. That’s why art moves you—precisely because it’s unadulterated with all the irrelevancies of real life.”
    —Aldous Huxley (1894–1963)