-
Archives
- July 2010
- June 2010
- May 2010
- February 2010
- January 2010
- December 2009
- November 2009
- July 2009
- May 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
-
Meta
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
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.
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 apple/mac/ipod, ipod, pragmatic programmers
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.
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 accessibility, aria, javascript, wai-aria
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