Griffon: Grails-like Framework for Swing
Join the DZone community and get the full member experience.Join For Free
the initial release of griffon , a grails-like framework for swing application development, has been posted. danno ferrin has the inside scoop.
after over a year of poking and prodding at the various parts of desktop java the groovy swing developers are proud to announce the first release of griffon, a grails-like tool for swing development. while not yet industrial strength we felt it was important to put out a release so people can get a feel for what griffon is and where it will be going. and since all good computer scientists start counting from zero, 0.0 seemed to be the perfect release number.
what are some of the highlights of griffon?
- a grails like build system for desktop apps, including targets to run the application.
- a directory structure that rewards mvc separation of code.
- use of groovy programming language features to reinforce mvc separation (builders, @bindable annotation, metaclass method injection, scripts, etc).
- a view layer based on groovy's swingbuilder, allowing for a declarative layout of gui code.
- an infrastructure to allow seamless injection of other widget libraries. jide and swingx are supported out of the box.
- automatic packaging and signing for webstart, applet, and traditional application deployment.
why call it grails-like instead of rails-like? the structure of the directories and some of the design idioms do have a heritage back to ruby on rails, but griffon is more inspired by grails than it was by rails. and by "inspired" i mean "taking large chunks of grails code to bootstrap the codebase" (thanks to the asl 2.0 this is permissible). not all grails features have been brought over yet. plugins and gorm are two notable standouts that we would like to add in future releases.
to download the current release please visit the wiki page at http://groovy.codehaus.org/download+griffon and follow the links. there is also an installation guide and a quick start tutorial on the wiki as well.
Opinions expressed by DZone contributors are their own.