Testing Methods That Make Static Calls

I had trouble testing a particularly painful codebase. It had static calls and implicit dependencies all over the place, to name just a few problems. One of the things that it often did was to call static methods that would increment counters in the database and cache stuff. Example: Record::incrementViews() It was making things difficult. To avoid messing with the…

Read More

Better Link Previews on Social Media

There’s a protocol called Open Graph that allows you to specify metadata for social media sites. Add some these tags to your <head>:

Now when you link to this page on a social media site, you’ll get the preview you want. Provided of course that the social media site reads the Open Graph metadata…

Read More

What Clients Are Really Saying

I build software, guide teams and consult with management to help them achieve their goals. I can spend an insane amount of time developing a relationship with a prospect that just isn’t going to pan out. From the first 10 minutes of conversation, I can have a pretty accurate assessment of my success chances with the prospect…

Read More

Creating Courses and Talks with Mind Maps

Many people are intrigued when I say that I am able to cut my course and talk preparation time by roughly 70% using mind maps. The first instinct is to write slides, but that is wrong. Slides are linear. With the ability to make transitions, add pictures and express ideas in full sentences, they are a…

Read More

ConFoo Call for Papers is Open

ConFoo is once more seeking passionate speakers for the upcoming conference. The event is happening in Montreal, Canada, between February 24th and 26th, 2016. It is an exciting conference for web developers with speakers from all over the world. It unites many web programming languages under one roof, as well as other topics related to…

Read More