3 ms·
I don't really understand your point. In MVC, we use functions on the controller to handle the incoming request and the response. There is usually a router that
by notJim 14y ago
I don't really understand your point. In MVC, we use functions on the controller to handle the incoming request and the response. There is usually a router that routes an incoming request to the corresponding controller and function.
How is this different than what a route function does?
- MatthewPhillips 14y agoBecause a route function is a function and a controller is a collection of functions (that is its own abstraction not directly related to http).