|
You are here |
tomasvotruba.com | ||
| | | | |
gist.github.com
|
|
| | | | | A Silex Service Provider to add Monolog\Handler\BufferHandler, Monolog\Handler\FingersCrossedHandler and Symfony\Bridge\Monolog\Handler\SwiftMailerHandler to email any errors. Silex\Provider\MonologServiceProvider must also be registered. - ExtendedMonologServiceProvider.php | |
| | | | |
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... | |
| | | | |
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 | |
| | | | |
davidllop.com
|
|
| | | New is good, but sometimes you need to touch that legacy code you have nightmares with. | ||