News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
PHP to the Rescue!
May 01, 2006 @ 07:34:45

In his latest post on the SitePoint PHP Blog, Harry Fuecks has linked to a rather long look at error codes and exceptions in PHP, courtesy on Damien Katz.

If you're looking for a thoughtful Saturday read, you won't go far wrong with Error codes or Exceptions? Why is Reliable Software so Hard? by Damien Katz, which is worth it just for the visual interludes.

In fact it's less about error codes / exceptions and more about what you do when something does go wrong-how to you "bail out" of the mess you're in?

There's a few different error handling types that Damien mentions

, including the "Get the Hell Out of Dodge" Error Handling, "Reverse the Flow of Time" Error Handling, and "Plan B" Error Handling as well as some suggestions to help you and your code cope.
0 comments voice your opinion now!
error handling codes exceptions reliable software tips types error handling codes exceptions reliable software tips types


blog comments powered by Disqus

Similar Posts

Developer Tutorials Blog: Five Wordpress Tips for Power Users

Sebastian Bergmann's Blog: PHPUnit and Cyclomatic Complexity

DevShed: Enforcing Object Types in PHP - Filtering Input Objects in PHP 4

PHPBuilder: A Primer On Postgres Exception Handling For The PHP Developer

Derick Rethans' Blog: Five reasons why the shut-op operator (@) should be avoided


Community Events





Don't see your event here?
Let us know!


symfony laravel tool interview library community security conference language release introduction series list framework artisanfiles composer opinion podcast version voicesoftheelephpant

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework