Tuesday, March 25, 2008

Java Builders...slowly coming alive

I recently started a new open-source project called Java Builders, inspired in equal parts by Groovy's builders (hence the name), Ruby on Rails and libGlade (for building GTK+ applications).

Please check out the code site:
http://code.google.com/p/javabuilders/

Much development to ensue throughout the coming months...the goal of this project is to obliterate any productivity differences between dynamic languages and Java by making building UIs in Java so simple and fast (regardless of whether it is Swing, SWT, Google Web Toolkit, etc) that nothing else can compare (even visual UI builders like Matisse).

Ambitious goal...payoff is potentially great...fortunately enough, if it fails no one will notice. :-)

The concept is simple:

a) define a UI (both controls and layout) in an external file (like Glade/libGlade in GTK+)
b) use YAML for the file format, instead of XML or JSON (like Ruby on Rails)
c) build the UI in a style similar to Groovy builders (but with the layout in the YAML file, not in code)

It's a Frankenstein creation, based on ideas pinched from other languages and applied to Java.

Stay tuned!