peterjmit.com
Refactoring a Symfony 2 Controller with PhpSpec :: Peter Mitchell :: Website and application developer
http://peterjmit.com/blog/refactoring-a-symfony-2-controller-with-phpspec.html
Refactoring a Symfony 2 Controller with PhpSpec. Sep 4th, 2013. This is the second post in a series that looks at working with PhpSpec and Symfony 2. In the first post. We saw how it was difficult to manage (and mock) all the dependencies that come with a controller that extends the FrameworkBundle Controller (you can see all the code. For these posts on github. Peterjmit BlogBundle Controller; use. Symfony Bundle FrameworkBundle Controller Controller; class. GetDoctrine()- getManager(); $posts. Get a ma...
peterjmit.com
A better workflow with Chef & Vagrant :: Peter Mitchell :: Website and application developer
http://peterjmit.com/blog/a-better-workflow-with-chef-and-vagrant.html
A better workflow with Chef and Vagrant. Jun 26th, 2013. I have been using the Chef and Vagrant combo for a little under a year now and it represented a huge improvement in time, efficiency and management of developing, running and deploying projects. The workflow I had arrived at was not perfect though and had a few warts that needed removing:. Getting hold of (or creating) base boxes for Vagrant. The chef repository can grow to be. And hard to understand. Tools for the new workflow. As a starting point...
peterjmit.com
Blog :: Peter Mitchell :: Website and application developer
http://peterjmit.com/blog
Refactoring a Symfony 2 Controller with PhpSpec. Getting started with PhpSpec and Symfony 2. A better workflow with Chef and Vagrant. Be careful with global variables in Symfony 2 Twig extensions. Why should you upgrade your test suite to PhpSpec and Prophecy. Peter Mitchell – design by Natalie Rauh.
peterjmit.com
Getting started with PhpSpec and Symfony 2 :: Peter Mitchell :: Website and application developer
http://peterjmit.com/blog/getting-started-with-phpspec-and-symfony-2.html
Getting started with PhpSpec and Symfony 2. Aug 19th, 2013. This is the first post in a series of posts that will take you through a step by step guide to getting started with PhpSpec and Symfony 2. If you want to skip straight to a. Approach for testing controllers check out my second post. Post 2: Refactoring a Symfony 2 Controller with PhpSpec. To follow these examples you will need to install the Symfony 2 standard edition with PhpSpec. I have created a repository with all the example code. It should...
SOCIAL ENGAGEMENT