I got my start as an interaction designer during the first internet bubble. Since then I’ve worked on interactive marketing and products for everything including finance, automotive, electronics, packaged consumer goods, pharmaceuticals and healthcare. In that time and experience I have come to know that there are a few key things that make good interaction… Read More


In a mere four hours of development, Johnny Lin turned an idea that was scribbled on his notepad into a web app that went viral almost instantly. Beak is a new app that lets you rate how smart (or “un-smart”) your Tweets are using an algorithm based on the SMOG readability index. The app popped up… Read More


You probably know that you can use data URIs in just about any browser now, but how do you convert an image to a data URI? It turns out, most browsers can do it for you. What is a data URI? Data URIs are all the rage these days. They let you reduce HTTP requests… Read More


You know how Dribbble shows a color palette for each shot users upload? They always look perfect right? Here’s a tool that can give you the same quality results using pure JavaScript. I played with Color Thief a few months ago but surprisingly never posted about it. For me, something that’s easy to use and has consistently great… Read More


With the deprecation of the target attribute in XHTML Strict, opening links in new windows has become a bit trivial, if not annoying, to standardize. I always look for a consistent, unobtrusive approach that degrades gracefully; and since I use jQuery quite frequently, this is how I usually handle them. The solution is a small… Read More


Before HTML5, working with arbitrary data sucked. To keep things valid, you had to stuff things into rel or class attributes. Some developers even created their own custom attributes. Boy, was it a mess. But that all changed with the introduction of HTML5 custom data attributes. Now you can store arbitrary data in an easy, standards-compliant way.… Read More


Recently I had a conversation with a good friend. He is the CEO of a company that began as a startup, and then leapt into a multimillion dollar a year business. He has 250+ employees, in the US and internationally. The company is doing extremely well. He lives in a beautiful home, with his wife… Read More


Have you ever needed to send a PHP variable, array, or object to JavaScript? It can get complicated trying to escape the output properly. Here’s a way that always works—no escaping necessary. Let’s say we have the following variable in PHP:

And we want to pass it to a JavaScript variable called name. Here’s the… Read More


I have often talked about why plastering social sharing buttons all over your website is completely ineffective. This morning, Smashing Magazine all but confirmed my theory. In today’s Smashing Newsletter, they wrote: Are social sharing buttons really that effective to be placed in the most visible areas of websites, sometimes even as “sticky” notes on the… Read More


Here’s the absolute easiest way you can validate an email address using PHP. This tiny function takes advantage of the filter_var() function in PHP.

That said, you really don’t even need the function wrapper if you can remember filter_var() and the appropriate constant. Just remember that the return value will be the filtered string or… Read More