Geert Eltink

Results 47 comments of Geert Eltink

Inject the translator extension into the locale detection middleware. Update the locale after detection into the extension.

Actually, you don't need to inject the locale into the extension. You can set the default locale directly in the translator. Here is how I did it a while back...

First of all, we've got a nice forum for questions like this: https://discourse.zendframework.com/ > I know I could probably simply tweak the old ZF1 "default" module to serve as an...

I can confirm the slow speed for the php:apache container. Using the php internal server or a nginx container I didn't encounter this issue. Also forcing a http 1.0 return...

> When I first looked at zend expressive I was impressed but confused, It looked nice, but I didn't know what happened with mvc nor the difference between these two...

@frankx Try our [forum](https://discourse.zendframework.com/) and [slack](https://zendframework-slack.herokuapp.com/) for questions.

> DI Containers like Symfony, Pimple and Auryn have clearly already caught up with this. As Zend Expressive 3 is so new I expect it to use the PSR-11 interface...

It depends on what code you have in those actions. Usually you return a Response object in an action middleware. Which basically means you will not execute the second action...

@sergu44o What version are you using? This issue is almost 2 years old.

@RalfEggert I would add a `config/autoload/database.local.php` as well with the database username and password. Why add these: `album.routes.global.php, album.dependencies.global.php, album.templates.global.php`? You can just use the files that are already there:...