Logo

dev-resources.site

for different kinds of informations.

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

Published at
6/27/2024
Categories
framework
library
development
illustration
Author
abdulsalamamtech
Author
16 person written this
abdulsalamamtech
open
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!

library Article's
30 articles in total
Favicon
Why I won't use querySelector again.
Favicon
The Ultimate PHP QR Code Library
Favicon
React-toastify v11 - finally easy to customize
Favicon
Automating Arduino Library Deployment with GitHub Actions: Version Validation, Pull Requests, and Release Automation
Favicon
microlog 6: New feature – Log Topics
Favicon
New Release: microlog 5.1.0
Favicon
Best React UI Library: 5 Popular Choices
Favicon
THE DIFFERENT BETWEEN LIBRARY AND FRAMEWORK AND NOT USING BOTH WITH REAL LIFE  ILLUSTRATIONS
Favicon
How to Convert PDF to Text in Python (Full Tutoiral)
Favicon
Library v/s Framework
Favicon
Export data from Django Admin to CSV
Favicon
Design a Multiple-Chart Plotting Library
Favicon
Teach you to design template class library to get K-line data of specified length
Favicon
Oxylabs Python SDK
Favicon
How to Convert HTML to PDF in Python (Full Tutorial)
Favicon
Struggling with Brand Icons in Web Development? Try Simple Icons!
Favicon
The development of CTA strategy and the standard class library of FMZ Quant platform
Favicon
Comparing Vue Component Documentation tools
Favicon
Why write a library?
Favicon
Introducing Bag 1.0: Immutable Values Objects for PHP
Favicon
Introducing EventSail: A Python Library for Event-driven Programming
Favicon
Introduction to NumPy
Favicon
Best Icon Libraries for a Dev in 2024
Favicon
Light Localization for PHP - Translations
Favicon
SciChart is the fastest JS Chart library available
Favicon
Java library for RuTracker
Favicon
Guided Tours Solution for Your Web Application
Favicon
Exportar tabla con JQuery
Favicon
RGFW | Singler-Header Lightweight framework for basic window and graphics context handling (like GLFW)
Favicon
An expression parser for MiniScript

Featured ones: