PHPUK 2011 Talk: Beyond Frameworks

Posted by Stuart Herbert on February 25th, 2011 in Conferences.

I’ve just finished giving my talk at this year’s excellent PHP UK 2011 conference, on how to use code frameworks like Zend Framework and Symfony without them holding your code hostage. Here are my slides from the talk:

This talk is a follow up to my successful PHPUK 2009 about what it can be like to live with frameworks when you do product development. Looking back on that talk now, it’s interesting to see how some of the themes from two years ago have changed as the business enjoyed two straight years of record growth.

If you were at the conference, and attended the talk, I’d love to read comments about how I did on


  1. Tweets that mention Stuart Herbert On PHP - » PHPUK 2011 Talk: Beyond Frameworks -- says:
    February 25th, 2011 at 4:54 pm

    [...] This post was mentioned on Twitter by Planet PHP, Raden Andi Ramdani, Planet PHP, geekbay rss, Raden Andi Ramdani and others. Raden Andi Ramdani said: PHPUK 2011 Talk: Beyond Frameworks – Stuart Herbert: I’ve just finished giving my talk at this year’s excellent … [...]

  2. Henrik says:
    February 28th, 2011 at 5:25 pm

    I must say that i enjoyed you talk even though there are some minor things that annoyed me :).

    You said in the talk that Doctrine does not follow the PSR-0 Standard which i think/know is wrong but that you are right saying Symfony1 and eZ Component does not. Also that the PSR-0 group actually lists a autoloader on their site that can be used.

    I agree with you perspective with the framework should be a thing layer for common components that can be integrated. But most of the code that becomes components always starts out as some simple Framework test or class and then gets converted, the trick is to know when to move the code out of the Frameworks “fists”.

    But all in all a good talk +1 !

  3. Stuart Herbert says:
    March 20th, 2011 at 5:04 pm

    @henrik: if you look inside Doctrine2, you’ll see that it bundles a copy of Symfony’s tools for console apps inside. Because the Symfony tools aren’t at the top-level, but are inside Doctrine’s own folder, it can’t find the code just by using a normal PSR-0 autoloader (well, not withing telling the autoloader to look in two places, which then would cause clashes with any upstream Symfony code also installed).

  4. gggeek says:
    March 21st, 2011 at 5:51 pm

    Aside PSR0, it looks really like an ad for the Zeta Components library (ex eZ Components). Nice to see more people agreeing on the same good principles!

    BTW, it also looks a bit like an ad for SOA architectures, which are now terribly out of fashion (not a big problem), but which also generated in the past the horrible SOAP monster (that should burn in hell forever) ;-)