What exactly is a framework? Like cakePHP? How are frameworks made? Is it just a set of helper classes and functions or something else? Or a new language based on php?
Answer 1, authority 100%
Frameworks are usually born when a developer or a group of developers gets bored doing the same tasks over and over and realizes that some general approachescan be applied to solve these similar tasks. These “approaches” are just taken out into the framework.
In some cases, frameworks internally implement the so-called
domain-specific language, i.e. some new simple programming language designed to solve highly specialized tasks. This interprets this language (in the case of PHP frameworks), of course, using