Archive for January, 2010

iPhone Click Event Delay

It appears that the iPhone has a built-in delay of about 300ms before firing the click event. This is most likely to give the user time to make a gesture, such as scrolling the page. In some cases, though, this may not be desired. For instance, if you make a mobile web app that doesn’t scroll, there’s no reason to wait 300ms every time the user clicks.

In these cases, the trick is to use ontouchstart instead of onclick.

  • Share/Bookmark

,

No Comments

Understanding Pointers in JavaScript

Pointers can sometimes be a confusing topic. In JavaScript, it is perhaps even moreso than in other languages. The confusion arises because the var keyword is serving double duty. It is used to define variables, as is commonly realized. But it is also used to make references– or point to– other variables, functions and properties. Read the rest of this entry »

  • Share/Bookmark

No Comments

Using the Amazon ECS Gem In Your Rails App

Amazon.com offers a tremendous amount of web services to developers looking to display their products. They benefit from this because developers make all sorts of cool apps for browsing Amazon. For example, nifty 3D Flash experience CoolIris (formerly known as ‘PicLens’) added Amazon functionality to their product. It’s a win-win for developers and Amazon because it drives traffic to the site while paying developers referral fees. Read the rest of this entry »

  • Share/Bookmark

, ,

1 Comment

Best of 2009, Ruby on Rails Edition

It was a good year for Rails. In 2009, we saw a number of exciting developments and a lot of great tools were released. Rails 2.3 was released in March 2009 and met with much fanfare. Rails has seen the introduction of templates, engines and a lot of other great features. Read the rest of this entry »

  • Share/Bookmark

,

2 Comments