Definition
A framework provides structure, such as routing, templates and data handling, so developers do not rebuild common parts from scratch. Examples include web frameworks for building sites and applications.
Choosing a framework involves trade-offs in learning curve, performance, community support and long-term maintenance. Popular choices are well documented and widely understood by other developers.
Keep frameworks and their dependencies updated so security fixes arrive in time.