Patterns

How to Clear an Array in JavaScript

Arrays are awesome! They allow you to store multiple values in a convenient, indexed set. In JavaScript, arrays can be declared literally or they can be initialized using the Array [...]

jQuery Ajax and JSON Envelopes

This is post 3 in a series on creating a JavaScript component for handling your Ajax requests in front-end development across your enterprise. You can find all the other posts [...]

Replacing Common UI Icons with CSS

Let's be honest, dealing with images on the web is kind of a pain. They're a pain to modify, load slowly and require all sorts of progressive techniques in a [...]

Javascript Parameter Patterns with $.extend and Beyond

Enterprise developers have a tendency to misunderstand JavaScript’s function parameters. When getting started, many expect¬†JavaScript functions to work much like the server-side languages they’re already familiar with. There can then [...]