/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

symfony.com
| | 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.0 parsecs

Travel
| |
| | tomasvotruba.com

I wrote the [Do you Autowire Services in Symfony? You can Autowire Parameters Too](/blog/2018/11/05/do-you-autowire-services-in-symfony-you-can-autowire-parameters-too/) almost 2 years ago. It seemed like a good idea at that time, to save manual YAML config wiring. Now, with [PHP configs](/blog/2020/07/16/10-cool-features-you-get-after-switching-from-yaml-to-php-configs/) on the Symfony markets, auto bind parameters became obsolete. Welcome **constant parameters**.
2.3 parsecs

Travel
| |
| | brandonsavage.net

PHP more or less has two kinds of dependency injection available: constructor injection, and setter injection. Constructor injection is the process of injecting dependencies through the constructor arguments, like so: The dependencies are injected via the constructor, on object creation, and the object has them from the very beginning. Setter injection is different; instead of [...]
3.4 parsecs

Travel
| |
| | blog.theamazingrando.com

The point of this post isn't to convince you of the usefulness of Dependency Injection there's been plenty of pixels spilled about it already. Instead, I want to talk about using Dry::Container to alleviate some of the pain points that DI introduces.
21.8 parsecs

Travel
|