DEV Community

Discussion on: Have you ever made or discovered a useful library? Share it! πŸ’¬

Collapse
 
neurabot profile image
Neurabot

What's handy differences between library and framework ? Bootstrap is framework but others call it library, why ?

Collapse
 
best_codes profile image
Best Codes

Good question!

The difference is that a library provides specific functionality that you call in your code, while a framework provides a structure and dictates the flow, calling your code instead.

Bootstrap is often called both because it provides a set of tools (like a library) but also enforces a structure for building responsive designs (like a framework). The terminology depends on how it's used in a project.

Collapse
 
neurabot profile image
Neurabot • Edited

Good. I conclude framework is in a large spectrum than library. Can you help us thus by publishing interesting article on how to create a library or framework ?

Thread Thread
 
best_codes profile image
Best Codes

Well, I could try! I have made a library before (not a framework), so I might do that. Thanks for your interest!