Talk in English - US at Dutch PHP Conference 2018
View Slides: https://speakerdeck.com/nikolaposa/dpc-2018-journey-through-unhappy-path
Short URL: https://joind.in/talk/889aa (QR-Code (opens in new window))
Developers naturally gravitate towards the "happy path" - default scenario in application execution in which everything works as expected, consequently neglecting exceptional behavior aspect of a software development.
This talk provides a comprehensive insight into widely adopted practices and patterns for dealing with exceptional conditions. Emphasis is on exceptions and applicable techniques that improve quality of the overall architecture, such as:
- structuring and organizing custom exception classes
- formatting exception messages using named constructors technique
- component-level exception
- exception wrapping
To make the story complete, second part of the talk focuses on a PHP-based solution for establishing a robust and extensible error handling system.