+ 3
Framework and Library ?
What is the difference between library and framework ? I searched on google but didn't understand. Please explain !
2 Respuestas
+ 15
The difference lies in the flow of control.
we , i.e., our code CALLS library methods but on the other hand in framework our code is being called by the framework.
Take JavaScript and php example :
when we do
document.ready(){
function xyz (){
//code }
}
here 1st line is framework since it is calling our code
and second line is somewhat library's method since we or our code is calling some method.
I tried to keep things as simple as possible, hope it helps.
+ 3
Idrina thanks for your answer and your answer has simplicity ♡♡♡