Daniel Opitz

Results 100 comments of Daniel Opitz

> My question arises when I need to change a bit the controller logic... I'm curious, what would be a specific use case for this? Why not simply implement the...

I think this complex solution is not needed. Instead I would implement a **Service class** and handle that specific logic there. So you collect the parameters (e.g. the domain name...

Did that help you? I will close this issue now. If you have any further questions, please feel free to open it again.

Hi @JaySparkxz I have two questions. 1. Did you add the BodyParsingMiddleware? ```php $app->addBodyParsingMiddleware(); ``` 2. Are you using the slim/http package?

Closing this as done.

An action class is a "controller", more precisely a single action controller, which only handles the HTTP request/response-specific tasks. It therefore does not belongs to the Domain namespace.

I think is an "historical" artifact from v3 or v4, see here: https://github.com/slimphp/Slim/issues/3208#issuecomment-1203427234 > We have to do a rawurldecode() before dispatching the URI to the router otherwise it would...

The page about routing already explains that you can implement a class with a `__invoke()` method as a rote handler. But this invokable class is not a middleware. How middlewares...

Yes, this part about PSR-15 middlewares with a process method is missing. @akrabat Maybe we should reconsider this PR again: https://github.com/slimphp/Slim-Website/pull/662

The documentation is available here: https://www.slimframework.com/docs/v3/features/caching.html