Archive for November, 2012

How To Use HTML5 Data-* Attributes with JQuery and Selenium

| | | |

I recently wrote a post about when it’s appropriate to use CSS classes. In it, I made the case that HTML5 Data-* attributes can be used instead of CSS classes to identify elements on a page. In this post, I’ll describe exactly how to do this.

Compass or Twitter Bootstrap? Why Not Both

| | |

Compass and Twitter Bootstrap are two excellent web development frameworks built on top of CSS pre-processors (Sass and LESS respectively). Both can be very useful even though the approaches they take are rather different.

Multiple Uses of CSS Classes

| |

CSS classes can serve multiple purposes when building web pages, which sometimes leads to ambiguity. In fact, this ambiguity is often the cause of arguments over when it’s appropriate to use CSS classes.

Low Information Developer

One of my favorite euphemisms of this political season is Low Information Voter. It describes a person who lacks a basic understanding of the issues, yet stills feels compelled to vote. I like the term so much that I felt compelled to apply it to my favorite group: developers. Here’s my list of things (in no particular order) that would make one a Low Information Developer.

How to Use JSON Objects With Twitter Bootstrap Typeahead

| | | |

Twitter’s Bootstrap is all the rage these days, and for good reason. It’s chock full of aesthetically pleasing, easily customizable styles and useful widgets. Among the latter you’ll typeahead, a widget for auto-suggesting possible values in response to user input.