Exceptional PHP: Nesting Exceptions In PHP - Brandon Savage

Courtesy Planet PHP  Thu, 11/12/2009 - 00:00

In the last two entries we have talked about the concept of layer abstraction : that is, that exceptions should not be allowed to pass out of one layer and into another.

So, when an exception is raised in the database layer it should be caught in the controller. But how do we go about making sure that exceptions raised in the database layer are properly recorded and processed, ensuring that we have error logging and don’t...


 

More related items

Brandon Savage's Blog: Exceptional PHP: Nesting...
Brandon Savage continues his introductory series on exception handling in PHP with this new post to his blog. This time the focus is on methods for nesting exceptions. In the last two...

Exceptional PHP: Extending The Base Exception Class -...
On Monday, we talked about the basics of exceptions and how they are used in PHP (as well as in other object-oriented programming languages). As promised, today we are going to talk about...

Versioning MySQL data - Arnold Daniels
As a developer you’re probably using a versioning control system, like subversion or git, to safeguard your data. Advantages of a VCS above a nightly backup are that you can walk to the...

SanDisk SDMSM2-008G-A11M 8GB M2 Memory Stick Micro...
The Memory Stick Micro (M2) is approximately one-third the size of the existing Memory Stick PRO Duo. The Memory Stick M2 continues the Memory Stick PRO Duo legacy by supporting full...

Linksys WRT610N Simultaneous Dual-N Band Wireless...
The sleek Simultaneous Dual-N Band WRT610N Router sets a new standard for design, expanded bandwidth, and robust performance. It's the ideal router for all your current and future digital...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com