Software Engineering principles applied to CSS

Some of my thoughts about CSS developent. Think of more? Share in the comments and I’ll add them to this page! Low Coupling The principle of low coupling suggests that distinct parts of an application be as “stand-alone” as possible.

Posted in Uncategorized

Custom events system in JavaScript – LightEvents.js

Needing an event subscription and publishing system for a HTML5/canvas game I’m creating, I wrote a very light event system. Anything than can call JavaScript (link, button, etc) can raise an event: LightEvents.publishEvent('event name', data); Subscribing to events is equally easy:

Here is the

Posted in Uncategorized

Quick and reliable ad-rotator

In the course of my work, I’ve created and refined a simple ad rotator. It is built in JavaScript, and does not rely on any library, like jQuery, to function.  In my experience, it defeats ad-block, and loads easily on

Posted in Uncategorized

asp.net – getting user confirmation before a postback

In asp.net web applications, it is common to have dozens — if not hundreds — of user controls that perform postbacks to the server, actions initiated by a user such as a button click. Often before a save, delete, or

Tagged with: , , ,
Posted in asp.net, JavaScript, tutorial

Creating a microformat / richsnippits resume

What are microformats? Microformats are small patterns of HTML to represent commonly published things like people, events, blog posts, reviewsand tags in web pages. Microformats are the quickest & simplest way to provide an API to the information on your website. See what else you can do

Tagged with: , , ,
Posted in Client Side, Featured, tutorial

Full-adders, 32-bit adders in JavaScript

500px-Full_Adder.svg_

Fascinated by a lecture as part of my CS degree pursuits (there is light at the end of the tunnel!), I  decided to build some digital circuitry beginning with logic gates and ending with a full 32-bit adder. LIVE DEMO So here’s my question:

Tagged with: , , , ,
Posted in Circuit, JavaScript, Programming

Horizontal vs. Vertical button groups

Horizontal vs Vertical button groups

Button groups are an important part of user interface design, but choosing their orientation can often be difficult. I’d advocate that horizontal groupings are better in most cases — consider this: Imagine that each element on the page is assigned

Tagged with: , , ,
Posted in Client Side, Design, User Interface

Interesting interview question #1

During an interview (for a software developer position) with a major employer in the state of Utah, I was asked an interesting programming question: Create a function that, given an integer parameter, will return the middle three digits I mentally

Posted in Uncategorized

From College Publisher to WordPress: My own daily WTF

Up until June 2011, The Signpost (Weber State University’s student news organization), was hosted by College Publisher – A content management system designed for university newspapers like The Signpost. In June 2011, the paper made the jump to WordPress. The first order

Tagged with: , , ,
Posted in Commentary, WordPress

Facebook Black Theme (IDE Theme)

Using the Google Chrome plugin Stylish, users can add custom CSS to be applied to any domain. I’ve created a dark CSS theme for Facebook, called FaceBook IDE Within Stylish (found in the Chome menu bar): Write a new style

Tagged with: , ,
Posted in Client Side

Boy Scouts of America “Perversion Files” Data Visualization

Following the release of the Boy Scouts of America “Perversion Files,” I thought it would be interesting to do some data visualization via Google Maps API Reports of Sexual Abuse by State If your’e interesting in doing some visualization of

Posted in Data Visualization

Convert <address> tag to Google Maps embed automatically with jQuery

google-maps

Converting an <address> tag into a Google maps link is something I’ve written about in the past, but user “Moose” was wondering if you can do the same thing, but transform it into an embedded map. Quick answer: Yes! Using

Posted in Uncategorized

Installing WordPress on a Windows Server (not through Gallery)

I administer a Windows server which runs multiple instances of WordPress.  Today I needed to install another instance, but the Gallery Installer through IIS kept failing. I resorted to installing manually, and wrote up this guide to installing WordPress on

Tagged with: , ,
Posted in Lists, tutorial, Uncategorized

JavaScript Constructors

Due to the familiar syntax of JavaScript, it is easy for experienced developers to make blunders without knowing it. One common problem is crafting object constructors. With some simple knowledge and scope checks we can create well formed constructors that function as developers expect.

Tagged with: , ,
Posted in Client Side, tutorial, Uncategorized

jQuery List sorting plugin

sortul

In the standard course of programming for my job and school, I have occasionally come to the need of a simple function or plugin to numerically sort UL list items.  In the spirit of sharing with the community, here is a jQuery

Posted in Client Side, Plugins

Camera Shake in Unity

After much Googleing for how to do a camera shaking effect in Unity, I decided to write my own small script to accomplish the effect. It combines both positional movement with rotational movement to simulate closely an actual camera shake.

Posted in Uncategorized

jQuery math finally solved

20091116-so-large

Web designers have long struggled with some of the more advanced aspects of computation and mathematics. Sometime ago, a Stack Overflow question asked I’ve got a number in my JavaScript variable! Now how do I add another number to it? Please

Tagged with: , , ,
Posted in Plugins

100% height using jQuery

equal-height-div-jquery

I few years ago, I wrote a post about forcing two divs to be equal height — quite a feat if you’ve ever tried!  Since then, a great jQuery plugin has came out that makes equal div height pretty easy

Posted in Uncategorized

Javascript Game Programming

topwing

(0/0 fps) Game play Press [Enter] start Use [Left] and [Right] arrows Press [Space] to fire missiles Game information Programmed using JavaScript, the melonJs game library, and the Tiled map editor. Source files: Game init/resources In game entities/logic

Posted in Uncategorized

Creating your own JavaScript Library

write-your-own-javascript-library

One of the phases I went through while learning about JavaScript was the intense desire to write my own library, similar to jQuery (but massively scaled down). My library has gone through several major revisions — and more than one complete

Tagged with: , ,
Posted in tutorial, Uncategorized


Web development is a wonderful synthesis between logic and art. In an average day, I will consider color theory, design patterns, and the intricacies of a given language.

To best serve my existing clients, I am not taking new clients at this time.
Sign up for the super spectacular newsletter
You might also like: