/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

tomasvotruba.com
| | 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 [...]
7.5 parsecs

Travel
| |
| | php-and-symfony.matthiasnoback.nl

[AI summary] A detailed technical tutorial on creating and configuring custom UserProviders in Symfony2 using YAML for authentication
7.7 parsecs

Travel
| |
| | matthiasnoback.nl

In the previous part of this series we decreased coupling of a Symfony controller to the Symfony2 framework by removing its dependency on the standard Controller class from the FrameworkBundle. Now we take a look at annotations. They were initially introduced for rapid development (no need to create/modify some configuration file, just solve the issues inline!): namespace Matthias\ClientBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; /** * @Route("/client") */ class ClientController { /** * @Route('/{id}') * @Method("GET") * @ParamConvert...
5.7 parsecs

Travel
| |
| | www.jasonwhaley.com

I was running in to a problem with a Java project that occured only in IntelliJ Idea, but not on the command line, when running specific test classes ...
23.4 parsecs

Travel
|