Frameworks vs Libraries vs Services


Framework, libraries and services are usually overlapped. In this blog post we'll see how are these things different from one another.

First let's have a look at framework..

Let's tokenize this word. Framework is composed of two terms. one is frame and second is work. Frame is anything that you can put something into . Like a photo frame, you have some sort of skeleton in which you can put your photo. but the most important thing is that your photo must be of the size of the frame. If this isn't the case then you might need to buy some other frame or you might need to cut your photo from the borders, or the bottom or the sides or from anywhere. (in order to fit it into the frame)

The second word is "work" what does work mean...

Well according to Physics you are only doing work if and only if some force is applied and you cover displacement in the direction of applied force.
But this is not the case with this work word. Here the work is nothing to do with displacement or W = FS  more specifically.
Well, in computer science, framework is an abstract implementation of functionality that user extended for his/her software. There are basic two spots in the framework, the one that user can't do anything about is called frozen spot. While the one in which user can add the functionality corresponding to the software application is called hot spot.
For example; web framework (Laravel) for website designs.
Frameworks is based upon OCP (Open Close Principle). Meaning they are open for extension but closed for modification. In  programming we can extend the frameworks by using inheritance and composition relationships. 

Now what are the Libraries...

As to our knowledge the library is the place where we use to go for study. So what's inside those libraries are the books. What we get from the books is the information. There are plethora of formulas, mathematical expressions, well defined structures in the books that we use as it is for solving different problems. Similarly in computer programming, programmers wrote certain libraries that help them or other programmers to re-use already made functions. 
For example: Java Libraries, C++ libraries etc.
There are basic two type of libraries:

  • Static Library
    • One that is used in compile time.
  • Dynamic Library
    • One that is used in run time.

Services on the other hand...

Are the assistance provided to the application using the network (Internet). The application can use the service remotely for particular functionality. For example: http services (web services). 



Comments

Popular posts from this blog

1-Machine Learning : Start...

Data Engineering Tools

Five People to Follow on Social Media

Applications of Data Engineering

Web Services : AWS (Amazon Web Services)

How to take notes in Freshman Year ?

E-Commerce : Platforms

A Survey of the Final Year University Students

An Interview with Pakistani Data Scientist : Dr. Zeeshan Ul Hassan Usmani

Cloud Computing