Category Archives: programming

Javascript tip: hints for better minification

Delivery of Javascript assets can be pretty expensive across the wire. A common way to combat the delivery cost is to minify your script before delivery. This technique is about as close as the web has come to compiling. However, … Continue reading

Posted in javascript, programming, web | Tagged , , | Leave a comment

Java 5 Enums Are Cool!

Java 5 enums are powerful things. Anytime you need a limited list of values, you should consider an enum class (versus a String or int). Java 5 enums can have methods as well, which leads to some powerful combinations.

Posted in java, programming, work | Tagged , | Leave a comment

Compiling JSPs in Tomcat

For some time now, I’ve been working with Spring MVC and Spring Web Flow to build web applications. One option that Spring MVC (and Web Flow by extension) offer is a view resolver that allows you to hide your JSP … Continue reading

Posted in java, spring-framework, web | Leave a comment

YAGNI, Apple, and iPod

As we all know, Apple recently introduced iPad to the world. Regardless of what you think about the device, I find myself really interested in the brief glimpses it offers about how Apple has been running its business.

Posted in apple/mac/ipod, best-practices, programming | Tagged , , | Leave a comment

Things I learned from the Chrome OS demo.

Today I watched the Google Chrome OS demonstration (11 minutes) video on YouTube®. Here is what I thought of it.

Posted in programming, technology | Tagged , , | Leave a comment

Working with JAR files in Maven

Apache Maven has become my build tool of choice at work. It seems that nearly every week I learn how to do something new with Maven (part of this is my inexperience, part is the plethora of awesome plug-ins). I’ve … Continue reading

Posted in java, maven, work | Leave a comment

SLF4J

One of the dependencies for dbUnit on it is SLF4J (a.k.a. the Simple Logging Facade for Java).  SLF4J aims to be a wrapper replacement for Java Commons Logging similar to Log4j.  The biggest bonus for using SLF4J is the fact … Continue reading

Posted in java, work | Leave a comment

The Issue with the HTML 5 shi[m|v]

I’ve been really interested in HTML 5 lately. I especially enjoy working with bridging existing HTML controls to the HTML 5 equivalents (e.g. making a script that will pick up on the video element and translate it to a HTML … Continue reading

Posted in javascript, web | 2 Comments

WAI-ARIA dynamic attributes?

I’ve got a question for the WAI-ARIA folks out there: can I add the attributes dynamically? I’m sure the best case is to set the attributes on the server, but let’s say I’ve got a JSP tag library that isn’t … Continue reading

Posted in best-practices, javascript, programming, technology, web | Tagged , , , | Leave a comment

Archetyping with Maven

These past two weeks have seen some quality time spent with Apache Maven.  I spent a few days figuring out how to create a custom project archetype in order to streamline project creation in my department. Why Maven? I developed … Continue reading

Posted in best-practices, java, programming, subversion | Leave a comment