Friday 24th February, 2012
4:00pm to 4:45pm
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.
this (drumming) and that (programming). Software botherer for Spotify. bio from Twitter
Sign in to add slides, notes or videos to this session