Abstraction Layers in Programming: An Overview

1 Year Subscription

This article explains abstraction layers, which you can use in many programming domains. Let’s get started.

What is an abstraction layer?

The abstraction layer creates a separation between two things. For programming, this is often splitting tasks into separate entities.

For example, an entity A might be assigned the task of fetching an image from a database  and then processing the image when retrieved

Creating an abstraction layer will split this entity A into entities A and B, where:

  • Entity A fetches the resource.
  • Entity B—now the abstraction—depends on the image to return from the first operation to then perform its second operation.

The abstraction layer allows one party, or operation, to be entirely responsible for one task while a dependent waits for that party to return data for them to process.


Abstraction in code

APIs are abstraction layers. While APIs serve many purposes, the way they are used is this: a developer is trying to create an application…


Continue reading on source link

4 thoughts on “Abstraction Layers in Programming: An Overview”

  1. Hello there, I found your site via Google while looking for a related topic, your website came up, it looks good. I have bookmarked it in my google bookmarks.

  2. I Fashion Styles

    Wow that was unusual. I just wrote an extremely long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyhow, just wanted to say excellent blog!

  3. Hello there, You’ve done a great job. I will definitely digg it and personally suggest to my friends. I’m confident they’ll be benefited from this site.

  4. Hi my friend! I want to say that this post is awesome, nice written and include almost all important infos. I抎 like to see more posts like this.

Leave a Comment

Your email address will not be published. Required fields are marked *

39 + = 43