Madison PHP Conference 2013

Saturday, November 16th, 2013

share on

Writing Silex Service Providers and Controller Providers : Beau Simensen

Madison PHP Conference 2013

So you've gotten to the point in your Silex application that you want to start breaking it out into modular pieces. Silex service providers and controller providers to the rescue! These interfaces appear to be really simple but do you know which things can safely be done in each method?

Find out the intended purpose for each interface and which operations should be done (or avoided) in each of their methods. Get a quick tour of Silex and Pimple and learn about why laziness is so important when writing code for Silex. By following some best practices you can avoid headaches for both you and your users.


Beau Simensen

Beau Simensen has been working with PHP since 2002. Professionally, he offers consulting services through his company Dragonfly Development. Beau is a proponent of writing framework agnostic code and hopes to help projects embrace a life not completely tied to any framework's ecosystem.