Hypirinha: HTML from Java

04 May 2009

For the first time in my career I've been travelling to the office each day by train.  For some reason I find my time on the train extraordinarily productive, especially when I get my laptop out.  The first fruit of that productivity is a new open source project, hypirinha.  From the project home page:

Hypirinha is a Java library for generating HTML. Hypirinha follows the fluent interface style, whereby several method calls can be chained together as single statement to achieve the desired result.

I've found the exercise really fun, and I think the the library will actually be useful.  At my current client we're using it for some minor reports and find it works well.  Using it on a large-scale web application is still some way off, but I think it's useful to challenge the usual template-based approach we see if we can find something better.