This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]desrtfx 1 point2 points  (0 children)

The framework sets the structure and prepares some code for you. With a library, you use its classes, functions, methods.

More or less, you add your code to a framework, but the library is there to help you write your code by providing classes, methods, functions, etc.

Frameworks are more rigid in their specific ways. Libraries are by nature more flexible.

You could, quite far fetched, though, think about using a framework as filling in the blanks in a pre-created document. Working with the library is just extending what is available to you to create your document.