Sessions at PHP UK Conference 2012 on Saturday 25th February

Your current filters are…

  • Challenges at scale: extreme data and platforms at eBay

    by Hugh E Williams

    Hugh Williams, the vice president of experience, search and platforms at eBay will us on a tour of key platforms used at eBay. From their Hadoop platform and data stores, to how PHP is used at eBay. Finally giving us some exciting insight to what's coming up that is cool at eBay in 2012.

    At 9:30am to 10:30am, Saturday 25th February

    Coverage video

  • Masterizing PHP Data Structure 102

    by Patrick Allaert

    We all have certainly learned data structures at school: arrays, lists, sets, stacks, queues (LIFO/FIFO), heaps, associative arrays, trees, ... and what do we mostly use in PHP? The "array"! In most cases, we do everything and anything with it but we stumble upon it when profiling code.

    During this session, we'll learn again to use the structures appropriately, leaning closer on the way to employ arrays, the SPL and other structures from PHP extensions as well.

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

    Coverage video

  • 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

  • Security audits as an integral part of PHP application development

    by Sijmen Ruwhof

    More often than not, web applications start off as a bright idea, which is then brought into realization at a fast and furious pace, with little eye for anything but result. Once all envisioned functionality is incorporated in the design and the project is launched, developers will be assigned to the next project.

    Notwithstanding a few bug fixes, the final - yet essential - step of software development is more often than not, omitted: the security audit. Despite the fact that these checks are regarded as tedious and superfluous, practice shows that it is time well spent: numerous, often severe vulnerabilities come to light.

    In his presentation, Sijmen Ruwhof will detail how to incorporate security checks into the software development process. He will also step through the implementation, and caveats of a security audit.

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

  • Monitoring your back-end for speed and profit

    by Andy Bob Brockhurst

    At the BBC we are preparing for the some big events in the coming year (the Olympics amongst them), as we don't have to cash to splash on new hardware in the current economic climate and our frozen license fee.

    The BBC runs approximate 300 websites all contained with bbc.co.uk and running on the same hardware. This means that a spike in traffic on /weather affects /iplayer and all other sites hosted on our platform.

    This talk will show some of the things we've been doing to benchmark our platform (the PHP, ZF portion anyway) and highlight poor performing sections of our site and address them.

    I will explain some of the tools we've written and technologies we've used to achieve this on a relatively short timescale with limited budget.

    This will cover our experience of using XHProf for the first time and augmenting Zend Framework to generate HAR (Http Archive) format files to expose the service calls our platform makes and how we’ve approached optimising them.

    I will then cover, briefly, how we’ve modified our platform to make it as cacheable as possible and the use of Varnish to offset the hits directly on the platform by adding device detection and GeoIP look ups into the caching layer.

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

    Coverage video

  • Open source search: an analysis

    by Justin Finkelstein

    Search is fast becoming the foundation for most modern web sites; users need to be able to find the product or information they want fast, accurately and have the capability to refine their search in variety of ways. This talk looks at a number of different Open Source search engines and provides an analysis on their ease of implementation, response times and capability to handle a variety of different data together with an overall feature comparison through a series of worked examples.

    At 12:00pm to 1:00pm, 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

  • Cheat your way with UX

    by Stephanie Troeth

    When we have an idea, it's tempting to dive headfirst into coding it and making it real. This is a great skill set that we have, but it can potentially harm our dream of building a great web site or a cool app; it is very easy to solve the wrong problem. Worse still, you might not find out that you've built an impractical solution until after you have invested a lot of time and passion into an idea doomed to fail.

    In this session, we will explore how we can get closer to the problem we ought to solve, and get a better idea who our potential customers might be. or users We will look at some user experience design (UX) tools and activities that help us refine objectives, pave the way for making decisions, and determine the shape of a minimum viable product—before we need to write a single line of code.

    At 2:00pm to 2:45pm, Saturday 25th February

  • MySQL update

    by Dave Stokes

    Oracle has been putting a great deal of manpower and money into MySQL product line. This session covers the new features such as NoSQL access to MySQL Cluster or InnoDB data, plug-in authentication, thread pooling, the PHP mysqlnd native driver, and other items that will make your life easier.

    At 2:00pm to 2:45pm, Saturday 25th February

  • Recognizing smelly code

    by Harrie Verveer

    The way the code of an application is organized greatly influences its maintainability, extendability and testability. Finding flaws in your object-oriented design as early as possible can therefore make the difference between an awesome application and a not so good one. Luckily there are a lot of indicators to look out for while you are coding, telling you that you should probably consider refactoring - often without even looking at your actual code!

    This session is an introduction to the most common code smells and some of the related anti-patterns in OO PHP projects. You will learn how to recognize indicators of deeper underlying problems in your application, and how to prevent these problems from happening in the first place.

    At 2:00pm to 2:45pm, Saturday 25th February

    Coverage video

  • Distribute the workload

    by Helgi Thorbjoernsson

    Many services / applications now a day are ill equipped with handling a sudden rush of popularity, as is often the case on the internet now a days, to a point where the services either become unavailable or unbearably slow.

    By taking a chapter from the ant colonies in the wild, where their strength lies in their numbers and the fact that everyone works together towards the same goal, we can apply the same principle to our service by using systems such as

    • load balancers
    • message queues
    • gearman
    • memcache
    • daemons

    and a few others, you can achieve greater performance, more redundancy, higher availability and have the ability to scale your services up and down as required easily.

    During this talk attendees will be lead through the world of distributed systems and scalability, and shown the how, where and what, of how to take the average application and splitting it into smaller more manageable pieces.

    At 2:50pm to 3:35pm, Saturday 25th February

  • HTML5 for PHP developers

    by Andrew Betts

    In a world of single page applications, touchable and swipable interfaces, canvas, browser-based storage and geolocation APIs, the humble PHP developer might be forgiven for thinking that their JavaScript colleagues are stealing all the glory. And, er, you'd be right. But getting the most from the browser means being smarter about what you do server-side, too.

    This talk explores a number of different approaches to designing your web application's back end to make it easier to build awesome browser based applications.

    At 2:50pm to 3:35pm, Saturday 25th February

  • Introduction: MongoDB with PHP

    by Derick Rethans

    An introduction to using MongoDB with PHP. Introducing MongoDB and why it’s a good match for PHP and instructing on basic schema design in MongoDB. Demonstrating how to connect to the database, perform CRUD operations and perform queries. Finally, summarize the community tools and libraries available in PHP and why one would use them.

    At 2:50pm to 3:35pm, Saturday 25th February

    Coverage slide deck

  • PHP under the hood

    by Johannes Schlüter

    The beauty of PHP is that everybody can read the code and see the inner workings of software. But understanding concepts from reading code isn't often helpful, especially if you are not proficient in that language.

    This presentation will take apart many parts of the PHP runtime, describe the concepts behind so attendees understand the inner workings without actually reading C code. Concepts covered include HashTables, the foundation for PHP arrays and many other internal data structures, the reference counting mechanism, which is important for writing efficient code as well as the overall executor.

    At 4:00pm to 4:45pm, Saturday 25th February

    Coverage video

  • Powering your website with real-time data

    by Bert Van Hauwaert

    We live in a very fast world, and we want to know everything as soon as possible. We want real-time data! With XMPP you can power your website with realtime data.

    I will demonstrate a full setup with an Openfire XMPP server exchanging data with a PHP application. I will also explain the required JavaScript functions in order to send/receive messages through XMPP over BOSH.

    At 4:00pm to 4:45pm, Saturday 25th February

  • The Misguided Manager

    by Zoe Slattery

    Almost every developer has worked for a bad manager. A good manager is a pleasure to work for - a bad one can make your life a misery. In this session I will talk from the point of view of the 'misguided manager' - a manager who, with the best possible intentions, combines the worst of all management practice to make a developer's life complete hell.

    At 4:00pm to 4:45pm, Saturday 25th February

    Coverage video