Friday, November 24th, 2006

Rant: Client, you’re fired!

Perhaps it was just my mood this week, but I am close to dropping another client. In the past year, I’ve developed an online resource management and monitoring system for this company. For a mission critical online app, this has got to be one of the cheapest I’ve charged out.

Anyway, my old contact must have been removed. It had been months since I’ve heard anything from them and well, I was too busy to do the old marketing call and there were very rarely calls for technical support on the app - such is the benefit of creating unit tested applications that do as they should.

More…

8 comments » Filed under Rants by rvdavid at 1:16.

back to top

Monday, November 20th, 2006

Ternary Expression in PHP

After posting on Sitepoint PHP Community Forums again after a long while, I’ve come across some posts which ask what the php code snippet means:

$id = isset($_GET[‘id’]) ? $_GET[‘id’] : false;

This php code block is called a Ternary Expression. It’s a shortcut for:

if ($_GET[‘id’]) {
$id = $_GET[‘id’];
} else {
$id = false;
}

More…

4 comments » Filed under PHP Programming by rvdavid at 0:23.

back to top

Credits:

© rvdavid blogs: Web Development | Powered by WP 2.3.1

Tree theme modified based on headsetoptions