News Feed
Sections




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

DevShed:
Handling MySQL Data Set Failures in PHP 5
October 29, 2008 @ 13:35:39

DevShed continues their look at custom exception handling in PHP5 application with this third part of their series, a look at handling exceptions from MySQL calls.

Having already introduced you to the main subject of this article series, it's time to summarize the topics that were discussed in the last article, in case you haven't read it yet. In that particular tutorial I explained how to implement a fully-functional customized exception system with PHP 5, which came in handy for handling a number of specific exceptions thrown by a basic MySQL abstraction class.

They create a custom MySQL exception class that sits on top of their MySQL abstraction layer (and Result handling class) and catches exceptions thrown from sample queries.

0 comments voice your opinion now!
php5 data failure set query mysql database abstraction exception


blog comments powered by Disqus

Similar Posts

PEAR Blog: PHP 5.3 Windows and PEAR (go-pear.phar)

Gergely Hodicska's Blog: What's new in PHP 5.3 - part 1: namespaces

David Coallier's Blog: Simple DBAL, PHP5, Light, Fast, Simple.

Dagfinn Reiersol's Blog: Real programming with PHP 5.3 (part 2): JavaScript-style classes

Anthony Ferrara: Beyond Design Patterns


Community Events

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


podcast security release voicesoftheelephpant library language video example opinion api community laravel5 series extension framework php7 version interview laravel introduction

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