Interfaces Make Testing Easier

Wednesday, May 26th, 2010

I, along with others, have written on interfaces many times before but recently I had occasion to find a new thing about them that makes them really awesome. A few days ago I was tasked with implementing PHPUnit against a Zend Framework application. This application, like many others, makes use of Zend_Auth, and in doing so makes use of the Zend_Auth_Storage_Session class. The problem with unit testing is that sessions aren’t supported very well, and I ran into all kinds of challenges when I tried to use the existing functionality.

(more…)

7:00 am | Comment (5) | Print | Categories: Object-Oriented Development, Technology

Revisiting: Why Every Developer Should Write Their Own Framework

Monday, May 24th, 2010

In November of 2009, I wrote about why developers should write their own frameworks. I pointed out at the time that often developing a framework forces developers to make the kinds of architectural choices that frameworks require, which helps them better understand the architectural choices in the most popular frameworks.

(more…)

7:00 am | Comment (8) | Print | Categories: Object-Oriented Development, Open Source, Technology, Zend Framework

The Fallacy of Sunk Cost

Monday, May 10th, 2010

Last week, I began working on something that didn’t pan out. For whatever reason, I went down the wrong path, and ultimately abandoned the task I was working on. In discussing it with my boss, he mentioned to me that it was better to realize early on that something wouldn’t work than to trudge onward, insisting that it be finished due to the “sunk cost” of the time already spent.

(more…)

7:00 am | Comment (2) | Print | Categories: General PHP, Opinion, Technology

PHP: The Good Parts – Book Review

Monday, May 3rd, 2010

Wez Furlong received a copy of PHP: The Good Parts as a thank you for his participation as a technical reviewer, and loaned it to me for a read. After reading it, I wanted to put together a brief review of the book for those who might be interested in this new title from O’Reilly.

(more…)

7:00 am | Comment (5) | Print | Categories: Reviews, Technology

1st Amendment, Meet 4th Amendment: The Gizmodo Search Warrant

Monday, April 26th, 2010

In news that is likely to reverberate around the internet a Gizmodo reporter named Jason Chen was searched by San Mateo police, and relieved of all his computer equipment in an ongoing investigation into the Apple iPhone exclusive and related stories. Gizmodo published those stories last week, creating a minor uproar on the internet.

(more…)

8:07 pm | Comment (7) | Print | Categories: Technology, Uncategorized
« Older Entries
Newer Entries »
Search:
Copyright © 2008 - 2010. All Rights Reserved.