YoVDO

Try - Getting People to Come to a Talk About Exceptions

Offered By: PHP UK Conference via YouTube

Tags

PHP UK Conference Courses PHP Courses Defensive Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore exception handling in PHP applications through this comprehensive conference talk from PHP UK Conference 2012. Learn the fundamentals of exceptions, their differences from errors, and the concept of application robustness versus correctness. Dive into potential pitfalls of using exceptions and alternative strategies like status codes, null object pattern, and defensive programming. Examine PHP-specific exception implementation, quirks, and SPL exception classes. Analyze how popular frameworks handle exceptions, their strengths, and weaknesses. Delve deeper into PHP's exception classes and discover interesting applications. Gain insights into best practices, including avoiding empty catch blocks and adding context to exceptions, to improve application reliability and debugging efficiency.

Syllabus

Introduction
Why talk about exceptions
Five questions
What is an exception
Other problems
What are exceptions
What are exceptions for
Robustness vs correctness
Robustness
preparerrisk
call chain
flow control
exceptional ruby
what am I actually ready
what else should you throw
when should you throw exceptions
PHP is quirky
Theres more
Post upload
PHP failure handling
PHP errors
Exceptions
Errors
Jiggerypokery
Restore Error Handler
Pars
zend
error handler
die and exits
suppression operator
SPL exceptions
Alternatives
Potential problems
Why use exceptions
Alternatives to exceptions
No raise API
Defensive programming
Eiffel
Design my contract
assert function
best practices
dont have empty catch blocks
add context
base class exception
Exception puns
Recap
Questions


Taught by

PHP UK Conference

Related Courses

Defensive R Programming
DataCamp
Secure Coding: Preventing Broken Access Control
Pluralsight
Clean Code
Udemy
C#: Using Defensive Programming to Refactor Code (Interactive)
Pluralsight
Secure Coding in C
LinkedIn Learning