database layer

Unit Testing Databases with Zend Framework - TechPortal

Planet PHP  Tue, 12/07/2010 - 03:00

Testing the database layer is a fundamental step during application development. It allows us to ensure that all data operations behave properly, without data loss or corruption.

In this article, we are going to describe a simple way to test the database layer of our applications, using PHPUnit database classes, Zend Framework extensions and some custom reusable code to facilitate the process for all the domain models.


 

Brandon Savage's Blog: Exceptional PHP: Nesting Exceptions In PH...

PHPDeveloper.org  Thu, 11/12/2009 - 12:43

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.