By definition, a framework is a set of standard you follow to build an application.
Which framework should I learn to build a web application?
People would tell you some of the popular PHP frameworks, trending js frameworks, or fancy CSS framework.
The truth is, the answer is partially correct.
In order to build a web application, you need at least 4 frameworks.
Backend framework
Many backend frameworks like Laravel, Symfony, and others. The main function of the framework is giving you a space to write your business logic and it take care the rest, like session, storage, and cache.
Business logic
Business logic is a set of standards that build within the backend framework to run the web application.
With a modern framework, you can easily implant your own design pattern, the way of data flow, or even event-driven architecture.
Frontend framework
Frontend frameworks give you a sense how to structure your layout code and define how the layout should look in different screen sizes.
Brand design
Every website has its own design and branding. Consistency is the key to build your business branding. How does the button look like, how the pop up appears, how to navigate to different pages, what’s the primary colour? They are the key elements which you need to learn on top of the implemented frontend framework.