Exceptions Are Not For Flow Control
When I saw this post on Better Error Handling, while there is nothing horribly horribly wrong with it I couldn’t help thinking that he has gone past proper error handling. Exceptions are for exceptional cases,…
PHP Functions, you’re doing it wrong…
Just a quick tip today. If your function looks something like this: <?php /** * A really long function definition * @param string $has * @param bool $a * @param int $lot * @param…
An alternative to Poor Man’s MVC in PHP
As written in my previous post ( http://blog.seanja.com/2010/03/re-top-10-php-techniques-that-will-save-you-time-and-effort/ ) I noted that the code for the proper way to write an index file is essentially a Poor Man’s MVC tm. This method is fine for…
RE: Top 10 PHP Techniques That Will Save You Time and Effort
I realise that I already posted something today, but this seemed like an emergency… I thought maybe this was a serious post when I clicked on it, then when I got to number 2 on…
Recent Comments