Sessions at PHP UK Conference 2012 about PHP with slides

Your current filters are…

Clear

Friday 24th February 2012

  • A look at PHP in 2012

    by Rasmus Lerdorf

    Rasmus Lerdorf, best known for having gotten the PHP project off the ground in 1995, will give an update on PHP as he sees it in 2012. From PHP humble beginnings as the Personal Homepage project up to what is new in PHP 5.4 and beyond.

    At 9:30am to 10:30am, Friday 24th February

  • The journey towards Continuous Integration

    by Sebastian Marek

    Over the past three years we’ve been pushing to improve our automated testing practices within Plusnet and to win full support for it within the company across the spectrum of fellow developers, project managers and upper management. It took a while to agree on software we want to use, and standards we want to follow, but now all new code is being continuously built and tested and the results of that are visible business-wide. We use PHP_CodeSniffer to verify that we follow our coding standards, DocBlox to generate automated API documentation, PHPUnit to run test suites and Jenkins to run all these tools regularly, at least once a day and to generate aggregated reports. On top of that we run acceptance and regression tests using selenium and Behat. Finally, Sonar allows us to create and publish reports visible to everybody and more importantly reports that everybody can understand.

    Setting it all up can be a tough exercise, but if you prepare to it upfront you might actually find it quite exciting! So, you strongly believe this is the way you should be developing your code, but you don’t really know where to start? Let me show you how our journey began. You don’t know how to convince your fellow developers to follow you? I’ll tell you how to establish a strong team that will follow you. Your managers seem to be more interested in delivering your project on time and don’t really see a point in spending additional time on unit testing and documenting your code? Maybe you haven’t shown them the benefits of continuous integration in a way they can understand.

    I’ll show you what worked for us.

    At 10:50am to 11:50am, Friday 24th February

  • Profiling PHP applications

    by Derick Rethans

    The web is full of advice focused on improving performance. Before you can optimise however, you need to find out if your code is actually slow; then you need to understand the code; and then you need to find out what you can optimise.

    This talk introduces various tools and concepts to find issues with your applications, and tools and concepts that help you optimise the your PHP applications.

    At 2:50pm to 3:35pm, Friday 24th February

  • Try {getting people to come to a talk about exceptions}

    by Ed van Beinum

    How your application handles unexpected or erroneous events is fundamental to its success or failure, and how it handles them is also fundamental to your sanity when you need to debug it.

    This talk will start with the basics Exceptions: what are exceptions, exceptions vs errors and the idea of whether an application requires 'robustness' or 'correctness'. We'll look at the pitfalls of using Exceptions and possible alternative strategies (such as status codes, the null object pattern and an overview of Defensive Programming) and when they might be useful. PHP-specific implementation of Exceptions and PHP's quirks will be covered along with a look the Exception classes provided to us by SPL. We'll also look at how some of the popular frameworks implement Exception Handling and what they get right and what they get wrong. Finally (hah!), we'll delve into PHP's Exception classes more deeply and and look at some of the interesting things you can do with them.

    At 4:00pm to 4:45pm, Friday 24th February

    Coverage slide deck

Saturday 25th February 2012

  • PHP 5.4: the new bits

    by Davey Shafik

    PHP 5.4 is about to be unleashed into the world; bringing some of the most exciting changes to the PHP language to date. Learn about traits, array dereferencing, indirect method calls using array callback syntax and improvements to closures and streams.

    Additionally, we'll go back over the new bits in PHP 5.3, in case you missed them! Namespaces, closures and PHAR, oh my!

    At 10:50am to 11:50am, Saturday 25th February

  • To a thousand servers and beyond: scaling a massive PHP application

    by Nikolay Bachiyski

    WordPress.com is an Alexa Top 20 web website, we get more than 100 million page views per day and 99% of the backend is PHP.

    The service has seen tremendous growth in the past couple of years. The presentation will explain how the system and copes with the load. This includes explanation of the software stack, scaling techniques and sharing lots of experience and real-life stats.

    Here are some of the topics covered:

    • Load balancers
    • PHP-FPM
    • Page-level caching
    • Object caching at the application level
    • Fail-safe and inexpensive serving of terabytes of user-uploaded files per day
    • Scaling MySQL databases
    • Distributing SQL queries between many servers with HyperDB
    • Asynchronous jobs system in PHP
    • 20 seconds deploy on a thousand servers, tens times per day
    • Staging servers for developers

    At 12:00pm to 1:00pm, Saturday 25th February