The difference between a Framework and a library

Placeholder Image

In my class, jQuery and Angular.JS were mentioned. The prior one is a library, while the other is a frame work. And the teacher gave us a saying “you call a library, frame work calls you”.

From my understanding, framework is like the skeleton  of a car. The shape is pre-defined. However, you can choose to use your favourite tire, color and so on. A library here would be something like a worker. You don’t need to build a tire yourself. You just need to make an order and someone will do it for you.

Leave a comment