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

A session at PHP UK Conference 2012

Friday 24th February, 2012

4:00pm to 4:45pm (GMT)

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.

About the speaker

This person is speaking at this event.
Ed van Beinum

this (drumming) and that (programming). Software botherer for Spotify. bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

PHP UK Conference 2012

England England, London

24th25th February 2012

Tell your friends!

When

Time 4:00pm4:45pm GMT

Date Fri 24th February 2012

Short URL

lanyrd.com/sptmh

Official session page

www.phpconference.co.uk/t

View the schedule

Share

Topics

See something wrong?

Report an issue with this session