How to Speed Up Firefox for Web Development

Posted on 07/03/2009 @ 02:40AM

Hands down, Firefox wins as the developer's favorite browser. With Firebug as the de-facto standard development tool and so many other great extensions, other browsers are supplementary or used for QA only.

The downside to the hardcore coolness of Firefox addons is that adding a bunch of them can make the browser sluggish; slow restarts + slower page renders = lower productivity. Well, I've got a few tricks to give FF a kick in the pants when it starts getting lazy. Sheck it out.

Read the full article >>

Notes From AJAXWorld New York 2009

Posted on 06/24/2009 @ 02:35AM

I recently had the good fortune of getting a free pass to the 2009 AJAXWorld RIA Conference & Expo conference here in NYC (big thanks goes out to Mike G). Here's a brief summary of some of the highlights.

Read the full article >>

Workflow: Using sed to Delete Specific File Patterns

Posted on 03/30/2009 @ 01:22PM

I will often make backups of my sites on an external hard drive simply by copying and pasting them, then leaving the computer for an hour while everything copies. The sucky thing about that is that projects managed by subversion have hundreds of little hidden .svn directories, with tons of files in them.

Read the full article >>

A More Readable Selenium API Documentation

Posted on 03/04/2009 @ 07:59PM

If you haven't heard of it yet, Selenium is a great tool for functional testing your websites. It's especially useful for QA'ing websites which use AJAX heavily, but can be used to a variety of other ways as well. In any case it's an awesome tool that can be integrated into anyone's workflow.

Read the full article >>

CavKit: A Debugger for the iPhone

Posted on 02/19/2009 @ 03:53AM

In the process of exploring iPhone web development, I began to find the Mobile Safari console a bit annoying. It's verbose, ugly, hard to read. So as programmers often do, I invented another variant of the wheel: the CavKit iPhone Debugger.

Read the full article >>

New Design

Posted on 02/18/2009 @ 05:54AM

I just applied my new site design, kudos and thanks to Jennifer Bazan for creating it. Her site is www.pinkflydesigns.com.

Read the full article >>

Reducing Javascript Recursion, and Other Fun Tricks

Posted on 01/30/2009 @ 04:50AM

Here's some brain candy for all you algorith-maniacs (that's right, I said it) out there. Check out Speed up your JavaScript, Part 2.

Read the full article >>

Javascript Can Do Multiline Strings??

Posted on 01/27/2009 @ 02:31AM

This one was a shocker to me. While reading this post on jQuery animation, I followed the link to Karl Swedberg's jQuery example. Whilst looking at the source, I saw a bit of code that made me stop and stare:

Read the full article >>

You Mean, Twitter Isn't Useless?

Posted on 01/21/2009 @ 04:06PM

For a while I scoffed at the concept of Twitter, writing it off as a pointless procrastination aid. But nature tends to find innovative ways of making things useful. Case in point: 9 Ways Twitter Can Help in the Real World.

Read the full article >>

Workflow: Bulk File Renaming with sed

Posted on 01/18/2009 @ 02:48AM

Even in this user-friendly, GUI-dominated world, the command line can still rock. Besides being always present (on Linux or OS X at least), there's so much slickness one can achieve if you know the right commands and how to use them.

Read the full article >>

jQuery Performance Comparison

Posted on 01/15/2009 @ 08:36PM

The announcement of the new jQuery release had me as excited as a geeky kid in a video game shop, so naturally I had to do some playing around. Noting the mention of performance improvements, I put together some tests to see just how must faster jQuery 1.3 was than 1.2.6.

Read the full article >>

Unique Element IDs With jQuery

Posted on 01/11/2009 @ 04:55AM

When optimizing DOM-heavy Javascript I'll often find the need to cache a bunch of elements or element collections. For example, take the following rollover code taken from my online resume (uses jQuery):

Read the full article >>

Javascript Coding Patterns: TaskRunner

Posted on 12/27/2008 @ 06:18PM

Nowadays it's painfully clear that the browser market is overpopulated. Web developers have to make sites work in a minimum of 3 browsers and their respective sub-versions. Clients, designers and developers alike want sites to look cool, and function well, but since browser support is inconsistent, we often must sacrifice function, or leave part of our audience with a so-so user experience; neither of these makes anyone happy.

Read the full article >>

jQuery Plugin for Animated Underlines

Posted on 12/27/2008 @ 05:40AM

It's always a good practice to have a hover effect on links to let users know that they're not just plain text. But after a while, the standard underline effect gets boring.

Read the full article >>

Javascript Event Viewing

Posted on 12/04/2008 @ 03:11AM

I've been looking for something like this for a while.

Read the full article >>

Tech Musings: Webkinz and Education

Posted on 11/16/2008 @ 06:43AM

A few people recently commented on the popularity of Webkinz. Although I haven't used it myself, I've read a few articles and heard several anecdotes that attest to its popularity. It seems to have both cult appeal (even some adults attest to being hooked on it) and that "sticky" factor Malcolm Gladwell talks about.

Read the full article >>

3D Animation on the IPhone with Webkit CSS Transforms

Posted on 10/05/2008 @ 04:06AM

3D Animation on the IPhone with Webkit CSS TransformsWebkit's new CSS properties are kicking up some dust, especially since they let you do 2D and 3D animation with only CSS and some Javascript. This means that we can do a good amount of Flash-like animations on the iPhone without having to wait on a Flash plugin. I cooked up a demo to show off some of these, have a look and feel free to give me some feedback. You'll need an iPhone or Webkit to view it properly.

Read the full article >>

Making XHTML Forms a Bit Sexier

Posted on 09/30/2008 @ 10:55AM

One major frustration about cross-browser development is just how design-inflexible XHTML forms can be. Even with CSS, some elements (<input type="file">, <select> boxes) remain as (f)ugly as the day they were born. Unless of course we sacrifice IE6, which will alienate roughly 25% of users.

Read the full article >>

Finally...A Rendering Bug In Another Browser

Posted on 09/07/2008 @ 03:28PM

Remy Sharp discovered yet another rendering bug that we'll all inevitably have to work around at some point, yet this time it was - *gasp* - NOT in Internet Explorer.

Read the full article >>

Holly-Hackin'

Posted on 08/24/2008 @ 03:52PM

We all hate using CSS hacks as a quick fix; a hack is never better than a real solution. But we all know that when it's crunch time, it can be a necessary (and hopefully temporary) evil, especially when working with our bastard stepchild beloved, but flawed Internet Explorer.

Read the full article >>

setTimeout / setInterval and Ensuring Time Gaps

Posted on 08/02/2008 @ 08:03PM

After coming across an informative post by John Resig about how Javascript timers work, I had to copy a useful code snippet from him.See the following:

Read the full article >>

Subversion Gotcha: "Malformed URL" When Merging

Posted on 07/30/2008 @ 08:11PM

Here's a wacky issue that occurs on Windows in both TortoiseSVN and command-line subversion. When doing a merge, Tortoise complains of a "Malformed URL" and fails.

Read the full article >>

Busy Waiting in Javascript

Posted on 06/06/2008 @ 01:25PM

Sometimes, particularly in sites that use large amounts of AJAX, we developers run into race conditions. Maybe the flash movie has to be loaded before a piece of Javascript executes. Or one piece of Javascript must run before another. And so on.

Read the full article >>

Internet Explorer and setAttribute

Posted on 05/29/2008 @ 03:04PM

While coding some DOM creation funness today, I had the need to dynamically update the css classes of a DOM node. In the process, I realized that IE6 and IE7 won't run the following code properly:

Read the full article >>

Calculating CSS Selector Weight

Posted on 05/20/2008 @ 03:12PM

When working with complicated stylesheets, I'm always forgetting the rules regarding which rule overrides another when both affect the same element.

Read the full article >>

Javascript Performance Lessons from Qooxdoo

Posted on 05/12/2008 @ 06:40PM

While googling for some information on improving Javascript performance, I came across this Javascript Best Practices document from the Qooxdoo people. A few of the (summarized) points that I found useful:

Read the full article >>