re: What are the differences between a library or a framework? VIEW POST


It mostly has to do with the call direction.

A framework calls into your program, where with a library your program calls out to it. Thereby a framework defines some behavior or structural requirements on your program.

How much requirements and restrictions a framework imposes on your program is generally called opinion. An opinionated framework imposes a lot of requirements and restrictions. Note that this does not imply (in)flexibility of a framework.

code of conduct - report abuse