Aaron Gustafson's Blog, page 19

February 8, 2011

Face It: You Can't Rely on JavaScript

I've been cautioning folks against over-reliance on JavaScript for the better part of a decade. Apparently Gawker didn't get the memo.
 •  0 comments  •  flag
Share on Twitter
Published on February 08, 2011 23:51

December 8, 2010

We Built a Chrome App

Yesterday saw the launch of the Chrome App Store and, along with it, an app we created called the wikiHow Survival Kit.
 •  0 comments  •  flag
Share on Twitter
Published on December 08, 2010 15:47

August 26, 2010

Honored

Late last week, the nominees for the 2010 .net Awards were announced and I was amazed to find myself nominated for not one, but two awards.
 •  0 comments  •  flag
Share on Twitter
Published on August 26, 2010 04:51

August 2, 2010

Be a good localStorage neighbor

While working on the client-side caching mechanism in eCSStender, I realized the dangers of localStorage.clear() and worked to come up with a solution.
 •  0 comments  •  flag
Share on Twitter
Published on August 02, 2010 06:17

July 19, 2010

Give a hoot

As any competent JavaScript knows, it’s not cool to litter the global namespace with variables, functions, and the like. Occasionally, however, even closures won't help you trap a given variable.
 •  0 comments  •  flag
Share on Twitter
Published on July 19, 2010 13:06

July 11, 2010

Template-based Asset Munging in ExpressionEngine

ExpressionEngine’s mechanism for embedding one template in another can be used to speed up your site by munging your CSS and JavaScript files.
 •  0 comments  •  flag
Share on Twitter
Published on July 11, 2010 06:28

April 5, 2010

Subtree merge as an alternative to submodules with git svn

Git svn a great tool, but it's not without its limitations. One such limitation is its inability to translate Git submodules into svn:externals. Thankfully, Git offers an alternative that is comparable and plays nicely with Subversion.
 •  0 comments  •  flag
Share on Twitter
Published on April 05, 2010 04:45

March 17, 2010

EE Tip: Counting the results of a nested query

Nested loops in ExpressionEngine can cause all sorts of headaches, especially when it comes to dealing with "magic" variables like {count}. Thankfully, MySQL can help.
 •  0 comments  •  flag
Share on Twitter
Published on March 17, 2010 12:16

January 18, 2010

A new "onload" scheme

A few projects back, I decided to rethink our JavaScript organization strategy and came up with a new technique that, I think, helps us better manage behaviors from page to page.
 •  0 comments  •  flag
Share on Twitter
Published on January 18, 2010 15:30

September 21, 2009

Getting TinyMCE to respect empty alt attributes

By default (or at least in the default configuration provided under the LG TinyMCE extension for ExpressionEngine), TinyMCE will remove the alt attribute if it is empty. Obviously, for accessibility and validation reasons, this is highly undesirable and needs correcting.
 •  0 comments  •  flag
Share on Twitter
Published on September 21, 2009 06:36