Writing Silex Service Providers and Controller Providers

Madison PHP 2013

Writing Silex Service Providers and Controller Providers

Madison PHP 2013

November 16th, 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.

Read and write reviews for this talk!

conference silex pimple