News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
Brandon Savage's Blog:
Exceptional PHP Extending The Base Exception Class
November 11, 2009 @ 10:50:00

Brandon Savage has posted the next part of his series looking at exceptions in PHP. This new article shows how to create a custom exception layer on top of the built-in handling.

One of the things that you can (and should) do with PHP exceptions is extend them to suit your own purposes. While the base Exception class in PHP is neither abstract nor impossible to use on its own, extending exceptions give you a great amount of flexibility and power, particularly in three areas: customization, identification, and abstraction.

He looks at creating custom exception types (for easier handling and customization and how it can help with the abstraction of your applications.

0 comments voice your opinion now!
exception handling tutorial custom



Similar Posts

Web Developer Juice: 11 easy steps for installing Apache ActiveMQ and configuring it for PHP applica

PHPit.net: An introduction to Test Driven Development with PHP

Alexander Netkachev's Blog: Practical PHP events: The Java way

Alexy Kovyrin\'s Blog: Nginx With PHP As FastCGI Howto

DevShed: A PHP Validation Helper Class in Action


Community Events









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


feature drupal performance release developer opinion microsoft windows zendframework sqlserver framework extension job conference wordpress codeigniter symfony podcast apache facebook

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