Vasanth Krishnamoorthy

Software Engineer (Http'ster)

What’s the deal with jQuery Deferred objects and Promises?

You’ve probably heard people around the water cooler about how handy promises are with handling asynchronous operations in JavaScript. All of the cool kids are using them, but are you wondering what’s the big deal about it? Well, let’s dive into it and see how we can use them. Asynchronous Operations Before showing how promises work, let’s… Continue reading

inView – jQuery plugin to track elements viewed

Problem: UI improvements is all about constantly experimenting with the layout/sections and test it against user metrics to see how it performed. Although tools like google analytics help us with page views and clicks, it was still hard to find out if the user had scrolled through the page to view a particular element on… Continue reading

3D Animations on the web with CSS3

Our world is 3D, it’s interactive, it’s real-time. Well, it’s about time we bring it to the internet too! Welcome to the age of 3D in browsers…. But wait, how do I do that? There are several options: Flash, WebGL (Sweet Jesus) and libraries like three.js, but today let’s look into what CSS3 can do with it’s transforms… Continue reading

PHP Traits – The Good, the Bad and the Ugly

Quite often we run into situations where we might have some methods that we would like to reuse in multiple classes, but they may not fit well due to the limitation of PHP’s single inheritance model. Today, we’ll look into traits which was introduced in PHP 5.4 to overcome these issues and where it should… Continue reading