Answer the question
In order to leave comments, you need to log in
What can any web framework do by default, a list of the most basic functionality?
In the process of studying frameworks, I want to first understand what any web framework can do out of the box. At the moment, I have compiled the following list:
- Routing - parsing a request from the address bar and calling the necessary controllers and their methods
- Autoloading classes
- Displaying errors
- Ready-made query methods to the database
... and what else?
Answer the question
In order to leave comments, you need to log in
There is nothing that "any" framework can do. There is something that any of the popular frameworks can do.
Speaking of HTTP backend frames, they DO NOT do:
- class loading is not one of them - this is what composer does.
- displaying errors also does not apply to this - some frontend is involved in this.
- "ready-made query methods to the database" also do not apply to this - this is an ORM task, one of which frameworks usually offer as recommended.
They (or the first-party solutions they offer) can usually:
- routing
- dependency injection/container
- sessions
- validation
- logging
- error handling
- file manipulation
- cache
- queues
- console commands
- scheduling something
- hashes, cryptography
- mail
Sometimes templating, authentication, authorization, internationalization, web sockets, event bus, testing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question