All entries of my technical and business blog

PHPStorm: My new editor

We’ve just migrated to the PHPStorm IDE in my team. Commercial licenses are $200, personal are $100. I believe that the investment was well worth it. If you’ve been following my entries, you know I have a love affair with Eclipse PDT. It has been hard for an open source programmer like myself to want to buy software. But, we did it.

What I Look For in a Code Review

Oct 18, 2012 business programming

A few days (ok, a bunch of days) ago, someone asked me on twitter what I look for when I do a code review. Pretty certain I was tweeting that I was either… a) doing a code review or b) annoyed at doing a code review. heh. I thought for a bit, and I think I’ve distilled the list of things I look for. Now, mind you, I don’t set out with my checkbox list or a manual, I just look at the code and “feel” it. Yes, that sounds crazy. I understand. But, subconsciously, I think I’m doing the following things when I do code reviews:

Intelligently combining Javascript

Oct 2, 2012 javascript performance

One debate that the guys on my team have been having revolves around the combination of Javascript and CSS files. There are two schools of thought. The keep them separate and the BFF - Big Fun File system. There are pro’s and cons to both… but as with everything, one particular way may not always be the best - we don’t always have to stay in extremes-land. Here are some thoughts. Feel free to weigh in.

Zend Framework ACL: Inherits Including

Sep 18, 2012 zend-framework

So one of the things that really bothered me about the Zend ACL implementation in 1.x was the inherits() method. It simply would test to see if the current role inherited the roles you were testing against. Well, what if the role WAS the tested role? Then it would fail. So, to fix that, in my own Application_Model_Acl implementation, I wrote inheritsIncluding().

Follow Through if You're Trying to Seduce a Developer

Aug 28, 2012 business

I remember a scene from A night at the roxbury where the less-than-slick brothers take some girls back to their room and have a problem closing the deal. One of them keeps saying pickup lines while he has the girl sitting on his bed. She basically says OK - we’re past this. He just can’t seem to close the deal - no matter how much she wants him to.