Peter Lafferty·Jul 7, 2018Capacity Planning And Software DevelopmentWorking at maximum capacity is a bad thing and can lead to slower release cycles, burn out and more stress. Without time to think through…A response icon1A response icon1
Peter Lafferty·Feb 28, 2018Converting A Silex Project to A Symfony ProjectThis article covers converting the Silex skeleton application to the Symfony Skeleton application. They are both simple projects but the…A response icon2A response icon2
Peter Lafferty·Feb 22, 2018Silex Providers in Symfony 4Moving across to Symfony from Silex my code had a lot of providers. If the provider just wired up classes and used type declarations then…
Peter Lafferty·Feb 3, 2018Master/Slave DBAL connections with Symfony 4If using DBAL without the Doctrine bundle you may want to set up a master/slave connection. There are a couple of gotchas if trying to…A response icon1A response icon1
Peter Lafferty·Feb 2, 2018Multiple DBAL connections in Symfony 4The documentation is pretty helpful about how to use multiple connections with the Doctrine bundle. However after switching over from…A response icon2A response icon2
Peter Lafferty·Jan 23, 2018Converting a json request to an array in SymfonyThis article is how to create Silex style middleware the Symfony 4 way. It covers converting a json post request string to an array. One…A response icon4A response icon4
Peter Lafferty·Nov 15, 2017Language Headers With A Restful Silex APIWhen writing Resftul APIs it’s always best to make use of HTTP headers. When dealing with localisation there are two headers that can be…
Peter Lafferty·Nov 10, 2017Start PHP’s Built-in Web Server From PHPUnitSometimes in PHP we want to write integration tests and sometimes those integration tests will need a web server. Available since PHP 5.4…
Peter Lafferty·Oct 25, 2017TDD On A Silex Controller“TDD it’s so easy” that’s what they tell us. There’s not trick to it, it’s just a simple trick. This article shows one way to unit test…A response icon1A response icon1