Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

What is the difference between a framework and a library?
Dec 30, 2015 @ 11:34:10

On Reddit.com's /r/php subreddit there's a discussion that's started up around this video that proposes some of the differences between a framework and a library.

Many people have asked me this question before. It's sometimes hard to get a straight answer, but if we remove all of moot details, use cases, and focus simply on the architectural design details the difference becomes quite clear. This video attempts to explain this difference in a relatively simple and straight-forward manner.

The conversation doesn't just talk about PHP frameworks specifically. There's also some mention of things like jQuery from other programming communities. There's plenty of suggested definitions in the conversation but most revolve around two ideas: that the library is a "tool" to use when needed and the framework is the structure of the application (hence "framework") that "uses you".

tagged: framework library difference video youtube discussion

Link: https://www.reddit.com/r/PHP/comments/3yei0q/what_is_the_difference_between_a_framework_and_a/