/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

brandonsavage.net
| | fusectore.dev

This is the first part in a series of articles on dependency injection for the play framework using guice. As soon as Ive written the next part, it will be linked here. Please note that while the examples are written in Scala, the principles apply for Java likewise. Furthermore, please be aware that Guice is not the only framework to do dependency injection with. It is probably the most prominent one in the play ecosystem though. Guice does so called runtime dependency injection. This means dependencies ...
3.2 parsecs

Travel
| |
| | richardmiller.co.uk

Background I am recreating Lime Thinking's current website [http://www.limethinking.co.uk] using Symfony2 [http://symfony.com/], much of the site is made up of what are effectively static pages. The main content of the page is stored as an XML file which then has the overall XSL template
3.5 parsecs

Travel
| |
| | tomasvotruba.com

Regarding Laravel, one of the biggest "no"s in 2022 was how it handles passing services around the project. I'm not talking about the facades or active records but **the static reflection container**. At first, it raised my blood pressure - we have a dependency injection, and everything must be passed via the constructor, right? Then I remembered a wise saying: "There are no best solutions, only trade-offs."
2.5 parsecs

Travel
| |
| | tomasvotruba.com

Using PHPStan is not just about getting to level 8 with less than 100 ignored cases. Yes, there are also [official extensions](https://packagist.org/?query=phpstan%2Fphpstan-) that improve the type support of Symfony, Doctrine, and Laravel projects. But more rules are needed to get our PHP project into a future-proof state. **It takes less effort than getting to level 5 and we can use them since day one**. That's why I love them so much.
24.9 parsecs

Travel
|