Interfaces Make Testing Easier
Wednesday, May 26th, 2010I, 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.
7:00 am | Comment (5) | Print | Categories: Object-Oriented Development, TechnologyRevisiting: Why Every Developer Should Write Their Own Framework
Monday, May 24th, 2010In 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.
7:00 am | Comment (8) | Print | Categories: Object-Oriented Development, Open Source, Technology, Zend FrameworkThe Fallacy of Sunk Cost
Monday, May 10th, 2010Last 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.
7:00 am | Comment (2) | Print | Categories: General PHP, Opinion, TechnologyPHP: The Good Parts – Book Review
Monday, May 3rd, 2010Wez 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.
7:00 am | Comment (5) | Print | Categories: Reviews, Technology1st Amendment, Meet 4th Amendment: The Gizmodo Search Warrant
Monday, April 26th, 2010In 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.
8:07 pm | Comment (7) | Print | Categories: Technology, Uncategorized
Web developer, amateur photographer, traveller, and amatuer chef. Expect to find me writing code, visiting new places or trying a new recipe. I live with my wife in Olney, Maryland. Follow Me On Twitter!- New Rockville PHP Group
- Excited About PHP Again
- Rethinking The Technical Resume
- We The State, Not We The People
- Working To Defeat the Stop Online Piracy Act
- Diversifying This Blog
- What do you want the web to be?
- Why I Love Being An Engineer
- Validation Blind Spots Hurt Real Users
- Finding A Job Without A Recruiter
