A Leader Must Be a Communicator Communication may be one of the most important roles of a leader. When a team feels uninformed, they disengage and can become resentful. A leader who is good at communicating with teammates and colleagues is vital for long-term team success. It’s important to be proactive with communication—communication is better… Read More


What is React? How does React compare to Angular, Ember, Backbone, et al? How do you handle data? How do you contact the server? What the heck is JSX? What is a “component”? Stop. Stop it right now. React is ONLY THE VIEW LAYER. React is often mentioned in the same breath as other Javascript… Read More


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