Reply to Re: do professional PHP programmers use error checking in their code?

Your name:

Reply:


Posted by jussist@gmail.com on 09/02/06 07:55

The error-checking policies also evolve during time. At first projects
at my current job, there was not much error checking. Now there's still
lot to improve, but things are better. There's sort of error-checking
framework in use, and it evolves.

if( !$dbresult ) {
HandleError("DatabaseError", "strErrorCode", "ELEVEL_CRITICAL", $sql,
mysql_error(), "Script location");
}

Well that's just from top of my head. But that's basically what happens
when there's an error. If error level is critical (or whatever), send
email to this address. Write all error to log.

So shortly my 5c is to always error check, and from project to project,
develop the error checking procedure according to needs and problems to
have a generic error checking process, which works for you and your
company policies.

t.j

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация