Posted in java on Feb 27th, 2008
Unit testing a simple Java class like, say, a four-function calculator is trivially easy using JUnit. However, things get a lot harder when you’re using complex support frameworks like Spring or Hibernate. Here are some guidelines for using JMock to help isolate the framework and focus on the code you’re testing.
Before you start, take […]
Read Full Post »
Posted in hosting on Feb 23rd, 2008
I was adding my email address to peerassembly.com and used a little javascript snippit to hide the email address from simple (read: stupid) email harvester bots. It’s so short, it hardly warrants a post but maybe someone will find it the next time they’re putting a contact email address on a web page and save […]
Read Full Post »
Posted in hosting on Feb 14th, 2008
I’ve been using capistrano for rails deployment for a while. I thought I’d see how useful it was for managing some static sites - it turned out to be really useful. Here’s how to do it:
First, create the project in subversion and check it out. I really like the idea of everything being in source […]
Read Full Post »
Posted in mac on Feb 10th, 2008
I just watched Wil Shipley’s presentation from C4[1] (video). The topic is generally about how to best use hype to promote your application (it was in front of an audience of Mac Indie developers). Besides being thoroughly enjoyable to watch, it contained quite a number of interesting tidbits on Google adwords, beta and upgrade […]
Read Full Post »