A Real time example on abstraction

Here i am going to explain the real time example of Abstraction.

Abstraction means nothing but a hiding of data

Abstraction can be used anywhere in your project. Think of the Post button in this website. It will just tell you that this button will post or submit your data but behind the scenes it does a lot of process involved like validation, formatting, logging, saving the data to database etc…. Since abstraction will just exposes only relevant data and functionality to end-users then we don’t really care how the actual process of the posting is done. What we only care is to write the content, post and that’s it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s