Return to profile for Alain Schlesser

Structuring PHP Exceptions

50 minute intermediate seminar


While the general consensus is that you should absolutely use exceptions in your PHP for dealing with error conditions, there is very little information on how to actually structure and manage them in a larger codebase.

The larger and more complex your projects become, the more important it is to start with a proper structure to avoid expensive refactoring later on. Your client will surely be thankful!

This session will first discuss the nature of exceptions, and then go over how you can set them up in a larger codebase. Finally, we'll go over a series of tips that help you maximize maintainability and extensibility.