Главная
Study mode:
on
1
Introduction
2
Why talk about exceptions
3
Five questions
4
What is an exception
5
Other problems
6
What are exceptions
7
What are exceptions for
8
Robustness vs correctness
9
Robustness
10
preparerrisk
11
call chain
12
flow control
13
exceptional ruby
14
what am I actually ready
15
what else should you throw
16
when should you throw exceptions
17
PHP is quirky
18
Theres more
19
Post upload
20
PHP failure handling
21
PHP errors
22
Exceptions
23
Errors
24
Jiggerypokery
25
Restore Error Handler
26
Pars
27
zend
28
error handler
29
die and exits
30
suppression operator
31
SPL exceptions
32
Alternatives
33
Potential problems
34
Why use exceptions
35
Alternatives to exceptions
36
No raise API
37
Defensive programming
38
Eiffel
39
Design my contract
40
assert function
41
best practices
42
dont have empty catch blocks
43
add context
44
base class exception
45
Exception puns
46
Recap
47
Questions
Description:
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.

Try - Getting People to Come to a Talk About Exceptions

PHP UK Conference
Add to list