Archive for May, 2008

Information Architecture Graceful Degradation Accessibility Case Studies

Based on the following website case studies, here are rules for planning graceful degradation into the architecture of a website: Read the rest of this entry »

  • Share/Bookmark

, ,

No Comments

What is Bad About CSS Sprites?

CSS Sprites have changed the way we think about website performance efficiency, but we should not be using them on every graphic and here is why: Read the rest of this entry »

  • Share/Bookmark

No Comments

Conducting Technical Interviews for Web Developers

Presumably most readers of this blog will have been through a technical interview, and I’m betting that some of them have to give technical interviews as well. The purpose of this article is to go over some of the points to consider while conducting the interview, as well as suggestions for coming up with good questions to ask. Read the rest of this entry »

  • Share/Bookmark

No Comments

Inspecting Javascript with Firebug

1. Go to http://www.alexgrande.com/breakable/ and add the link to your bookmarks.
Read the rest of this entry »

  • Share/Bookmark

No Comments

The Group Class in MooTools

The MooTools Group class is for grouping a collection of objects and calling a function when all of those objects have fired a particular event. For instance, you could group an array of Element objects and fire an event when all of them have been clicked. Or, you could group a collection of Ajax request objects and fire an event when all have completed. (Both of these examples are straight from the MooTools 1.2 Beta docs for Plugins/Group).

How is this useful? Well, it’s a convenience for when events Read the rest of this entry »

  • Share/Bookmark

2 Comments

MooTools mouseenter and mouseleave Events For Dropdowns

One of the frustrations many coders have encountered when creating JavaScript flyout menus is the fact that onmouseover and onmouseout events fire when entering children elements. This is usually not the desired effect when creating popup, dropdown or flyout menus. Read the rest of this entry »

  • Share/Bookmark

No Comments

Recursive Functions in JavaScript

Recursive functions are functions which conditionally call themselves. A common use for recursive functions is anywhere you need to iterate on data, where you would normally use a for() or while() loop. Read the rest of this entry »

  • Share/Bookmark

, ,

1 Comment

JavaScript Challenge: Reverse a Linked List

This article is a follow-up on my previous post on writing a linked list class in MooTools. In that post, I offered an implementation of a singly-linked list in JavaScript and gave a challenge: To reverse a linked list in place, starting with only a reference to the head. The challenge also forbade the use of storing the data externally — that is to say, you can’t just iterate over the linked list and stuff the items in a new array, then reverse the array. Read the rest of this entry »

  • Share/Bookmark

No Comments

LinkedList Class in MooTools

A commonly used data structure in Java and other programming languages is the linked list (Wikipedia). It is similar to an array in that it is a way to store a collection of objects in sequence, however unlike an array you cannot access items in the collection by index. Instead, you access them through links from other items in the collection, or from the initial head or tail link (which can typically accessed with getFirst() and getLast() methods, respectively). Read the rest of this entry »

  • Share/Bookmark

No Comments

JavaScript Challenge: Dispense Change

This challenge is to write a function that takes an amount of change and returns a String Array with the coins to dispense. Read the rest of this entry »

  • Share/Bookmark

No Comments