What is the difference between a Library (and | vs) a Framework ?
About
This page explains you the difference between:
Basically, you need to look at the inversion of control principle:
Features
With a library, it's easy to test your code whereas within a framework, the framework should provide a test feature.
With a library, you don't have extension mechanism, with a framework, you have one
Illustration
1)
Documentation