Introduction

Before writing this article, I believed there is no significant difference between a library and a framework. They both seem to be the same to me. But I was wrong; there is in fact a significant difference between the two and as programmers, we must understand the differences. These two terms are frequently used in the software industry but still are highly subjective to answer.

Library and a Framework

Let me ask you a simple question. Is jQuery a library or a framework? You may know the answer but can you justify your answer. Hold your thoughts for the end of this article and until then, let me simplify the terms for you.

Question of the Day

Our lame question of the day is: "What is the difference between a Library and a Framework?”

Analysis

To analyze the question properly and come up with an answer, let us consider the following cases.

Conclusion



The conclusion from all the preceding cases state that the difference between a framework and library is the flow of control among them. I asked you a question in the beginning of the article about jQuery. I hope after reading the article, you can answer that question. Your feedback and constructive criticism is always appreciated, keep it coming. Until then, try to put a ding in the universe!