LIBRARY vs. FRAMEWORK⠀

LIBRARY vs. FRAMEWORK⠀



"A library is not a luxury but one of the necessities of life!"⠀

👉Similarity⠀
Both framework and library are code written by someone else that is used to help solve common problems. By using them you won’t reinvent the wheel.⠀


👉Difference
The key difference between these is Inversion of Control. When you use a library, you are in charge of the app flow. You’re choosing when and where to call the library. When you use a framework, the framework is in charge of the flow. It provides some places for you to plug in your code.⠀


👉Metaphor
A library is like going to a store. You already have a house, but you need a bit of help with furniture.⠀

A framework is like building a model house. You have a set of blueprints and a few limited choices when it comes to architecture and design.⠀


💭QUESTION⠀
What is React and why?⠀
Tell us with a comment.⠀


                                 _______________________

Comments

Popular posts from this blog

My LHD share experience

FRONT END DEVELOPER SKILLS YOU NEED TO KNOW⠀

USEFUL CHROME EXTENSIONS FOR DEVELOPERS