by Andrew Betts
I've now been using PHP for over 12 years, and over that time I've learnt a lot of lessons, many of them the hard way, about building good web applications that scale, and some of the relatively easy and cheap things you can do to avoid pain later on. This talk was presented at the PHP UK Conference pre-event social, and covers a lot of the technologies and techniques that would be discussed in more depth at the conference itself.
Following 'Living With Frameworks' at PHP UK 2009, this session will show the the audience how we've broken free of the dependency on any one framework by using a component-based architecture and supporting tools allowing us to achieve much better code re-use across the business and associated technical teams.
This talk will show you the problems that happen when you throw your lot in with any one framework to build and maintain a product over a period of time. You'll be introduced to a more mature PHP application stack where the MVC framework is part of a layered architecture and the tools we have built in-house (and released as open-source) to speed up working with this approach.
We all know Continuous Integration and Continuous Inspection with PHPUnit, Hudson/phpUnderControl and other PHP QA Tools. But nowadays software gets more complex and we need a third CI process: Continuous Improvement. This process includes anti pattern detection, technical debt analysis and static code analysis. The talk will present tools like the PHP_CodeBrowser, Cinder and PHPMD.
This session teaches you how to detect and debug PHP scripts with the free open source tool Xdebug, which is an extension to PHP. The first part will quickly show how to get started with Xdebug. The second part of the session will cover detecting problems in your scripts by showing how Xdebug provides debugging aides in the form of stack/function traces, dumps of variables, modified PHP functions. In the last part I will show the remote debugger capabilities of Xdebug where you can: set breakpoints on functions,methods and file/line combinations and evaluating error messages. On top of this you will also see how you can use Xdebug's profiler to find bottlenecks in your applications. I will be focusing on the least known features of Xdebug.
by Ian Barber
Using Mikko Koppanen's PHP ZMQ extension we will look at how you can easily distribute work to background processes, provide flexible service brokering for your next service oriented architecture, and manage caches efficiently and easily with just PHP and the ZeroMQ libraries. Whether the problem is asynchronous communication, message distribution, process management or just about anything, ZeroMQ can help you build an architecture that is more resilient, more scalable and more flexible, without introducing unnecessary overhead or requiring a heavyweight queue manager node.
25th February 2011