Framework is a collection of various libraries. It is our code which calls the library code while in framework. it is framework's code which calls our code.
Library :
A set functions or modules which is work for your application specific function called library. its focus on strings,IO,sockets so their API’s also tend to be require fewer dependencies. charToFind function of the library ans pass teh characters whose position we need to find as a parameter in the function call.
Framework :
Framework on the other hand has defined open functions which the user writes to create a custom application. C++/Java users will understand this as it is much like implementing an abstract function. Because a framework is itself an application.
$(document.ready(){ // this call will be done by the jquery // framework when document will be ready.
function() { /* your code */ // our implementation inside the framework's function
}
});
str = "Mindstick"
var pos = str.lastIndexOf("."); // simply calling function of string library
Liked By
Write Answer
Software Framework vs Library
Join MindStick Community
You have need login or register for voting of answers or question.
Alice Taylor
28-Jan-2019tracking usps
27-Jan-2019Prakash nidhi Verma
13-Jul-2018Framework is a collection of various libraries. It is our code which calls the library code while in framework. it is framework's code which calls our code.
Library :
A set functions or modules which is work for your application specific function called library. its focus on strings,IO,sockets so their API’s also tend to be require fewer dependencies. charToFind function of the library ans pass teh characters whose position we need to find as a parameter in the function call.
Framework :
Framework on the other hand has defined open functions which the user writes to create a custom application. C++/Java users will understand this as it is much like implementing an abstract function. Because a framework is itself an application.