Frame: is a complete solution, a high degree of coupling of invasive great project, and the project, if you want to replace the framework, the project would require reconstruction;
Library: it can be seen as a small plug-in, to achieve a certain function, if the library can not meet the demand, replace other libraries just fine for small projects invasive, low coupling;