THE DIFFERENT BETWEEN LIBRARY AND FRAMEWORK AND NOT USING BOTH WITH REAL LIFE  ILLUSTRATIONS

the-different-between-library-and-framework-and-not-using-both-with-real-life -illustrations

THE DIFFERENT BETWEEN LIBRARY AND FRAMEWORK
AND NOT USING BOTH WITH REAL LIFE 
ILLUSTRATIONS

It’s sometimes very difficult to differentiate between library and framework on this small article, we are going to explain them both with some real-life illustrations.

First, what is a library?
Libraries are basically pre-programmed modules that can be used to speed up the development process. They typically do one specific thing.

While frameworks are very similar to libraries, they are also pre-programmed, but instead of doing one specific thing, they are used to archive a lot of things at once.

A real-life illustration is about you deciding to take bread and eggs for a break.

There are many ways to get your breakfast ready; let’s illustrate them.

This is an example of a framework:

You can just go and get the bread and eggs from a grocery store, fry your egg, and toss your bread, and you are ready to go, no stress; it’s time-efficient and stress-free.

This is an example of using libraries:

What about if you want to make the bread on yourself?
First, you need to get flour, butter, an oven, sugar, salt, yeast, milk, and many more.
The sugar, salt, and yeasts have been processed, but you aren’t doing it yourself, nor are you making your flow or oven.

But you are not yet done; how long do you think? It’s going to take you to make the bread and take your breakfast?

This is an example of building from scratch:

What about if you want to make the bread and egg on your own?
First, you need to train a chicken to arch the egg, you also need to plant and process casava for the flour and make your own butter and yeast, create or manufacture your own oven, plant and process sugarcane for your sugar, process your own salt, and many more.

How stressful and time-consuming do you think this is?
How many months is it going to take? a lot, right?

This is just the difference between using a framework,
library and building from scratch, respectively.

Framework: take minimal time to archive your goals, which included a lot of different other libraries.

Making bread with all the important ingredients is a lot; this is like building from scratch.

An example of building it yourself:

is using CSS, JavaScript, or PHP on your website.

Examples of libraries:

is using Tailwind and jQuery on your website.

An example of a framework:

using Bootstrap, Angular, and Laravel on your website

I hope you get the real message from this article.

Thanks for reading through!

Total
0
Shares
Leave a Reply

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

Previous Post
bringing-the-i/o-magic-to-berlin

Bringing the I/O magic to Berlin

Next Post
harnessing-govwin-iq-for-superior-government-contracting-market-intelligence

Harnessing GovWin IQ for Superior Government Contracting Market Intelligence

Related Posts