News Feed
Sections




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

Stefan Koopmanschap's Blog:
Your error page can be better
May 10, 2010 @ 09:16:53

Stefan Koopmanschap has shared some of his thoughts on something that a lot of sites could be doing better - making their sites fail gracefully.

Error pages. Most people don't really consider error pages when building a website or application. They usually contain some debug information so that when something goes wrong the developer knows what is wrong. But in a lot of cases when an application goes into production, this information is still exposed.

He points out a specific example of a recent time when the only thing thrown to the page was an error about a database connection rather than anything more informative or useful to the typical visitor. He recommends that, at the very least, a website should still present these errors in a template similar to the rest of the site.

Your average visitor will come to your site expecting information. If something goes wrong (which can always happen), they only need to know that something went wrong, and perhaps they should get a phone number or e-mailaddress where they can report the error.
0 comments voice your opinion now!
error page useful opinion suggestion


blog comments powered by Disqus

Similar Posts

Scott Johnson's Blog: A PHP Debugging Tip Too Useful Not to Blog

Brandon Savage's Blog: The 15 Minute Rule Of Software Development

Mayflower Blog: Cinder now available at Mayflower Open Source Labs

PHPMaster.com: Documentation Makes the World Go Round

Community News: Kohana Community Responds to PSR-1 & PSR-2


Community Events





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


laravel developer release unittest testing refactor opinion install list code series introduction community podcast symfony2 threedevsandamaybe language interview framework configure

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