What are programming frameworks?

190 viewsOtherTechnology

I’ve used things like Tailwind CSS and Next.js and I know that Tailwind CSS has predefined CSS classes and Next.js allows you to use HTML while allowing JavaScript integration, but what really is a framework? Is there a definition or something that would be able to classify React as a library but Next.js as a framework?

In: Technology

4 Answers

Anonymous 0 Comments

Generally speaking, a software library is a collection of functions and objects you can use to build a software application. A framework, on the other hand, is more like an existing program with some bits missing, and your job is to add the missing bits.

This is sometimes called “Inversion of Control”. With a library your code controls the software, but with a framework the software controls your code.

You are viewing 1 out of 4 answers, click here to view all answers.