/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

php-and-symfony.matthiasnoback.nl
| | symfony.com
2.3 parsecs away

Travel
| | In Symfony 3.3, the class argument of the services is now optional. When it's undefined, Symfony considers that the id of the service is the PHP class.
| | matthiasnoback.nl
2.9 parsecs away

Travel
| | 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...
| | symfony.com
5.3 parsecs away

Travel
| | Symfony 7.3 routing simplifies controller detection, adds route aliases in attributes, and introduces parameter aliases.
| | tomasvotruba.com
23.3 parsecs away

Travel
| During Easter weekend, usually, people take a break and have a rest. Instead, we used these 4 days of *holiday* to migrate the 304-controller application. At least that was the goal on Friday. Me in my colleague in the migrated project accepted the challenge. We got into many minds and code-traps. We'd like to share this experience with you and **inspire those who are still stuck on non-MVC code** and think it might take weeks or even months to switch to a framework.