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:
Pretty Blue Screen
April 05, 2006 @ 07:32:15

On the SitePoint blog today, Harry Fuecks shares some code he's worked up to create a "pretty exception" method for the Zend Framework.

Been playing around with Zend's framework some more and finally got annoyed enough about how exceptions are displayed to do something about it.

The code at the bottom of this post just needs including somewhere and enables a "pretty" exception handler-it's not specific to Zend's framework.

The idea is not original-it's PHP port from webpy which used code from Django - imitation and flattery.

The post includes several images of the output, showing the standard screen and examples of an various options expanded in different situations. The code is provided for you to simply cut and paste into your editor of choice.

0 comments voice your opinion now!
zend framework error handling pretty output zend framework error handling pretty output


blog comments powered by Disqus

Similar Posts

Derick Rethans\' Blog: Debugging Protocol Shoot-out (Part 2)

Stefan Koopmanschap's Blog: Serving frontend and backend from the same document root with symfony

Zend Developer Zone: Zend and IBM Post QEDWiki Screencast

Phish Tank: Install & Configure Apache+PHP+ZendFramework+OracleDbXe On Windows In Minutes

eZ Components: Version 2008.2 Released


Community Events

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


series composer interview performance configure application opinion library laravel api introduction example php7 conference symfony2 release install community podcast framework

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