Rich client application framework Griffon gets first release – live!
Groovy’s rich framework just got even richer with its first major release
We’ve been looking forward to this major release for a while, watching various plugins appear, but Groovy’s Swing-like framework Griffon 1.0 has finally arrived – in style too, as it was released live at Groovy ecosystem conference, GR8Conf, this morning.
Project lead and Groovy enthusiast Andres Almiray let Griffon 1.0.0 (codenamed ”Gryphys magnus”) fly during a session, after nearly four years hard work towards creating Groovy’s Rich Client Platform framework. Griffon takes inspiration from the MVC paradigm and pays homage to many other Groovy technologies, such as Grails.
Amongst new features for the framework include buildtime and runtime add-ons such as being able to run arbitrary Groovy scripts with either the application classpath fully built or a bootstrapped application, additional JVM flags and unparsed command arguments.
Much of the work towards this release comes in the form of an almost fully-fleshed out Griffon Artifact Portal – where you’ll a vast directory of plugins and archetypes, which Griffon can hook up to. Plugins can now be installed at the distribution level and not just at project level. However, not all plugins can be installed as framework plugins as of right now. Some plugins that may interest you include SwingX Builder, Code Coverage and the Griffon Validation plugin.
Griffon 1.0 also comes with eight sample applications, designed to demonstrate the power of the framework. These include:
- File Viewer - a simple demonstration of creating new MVCGroups on the fly.
- GroovyEdit - an improved version of FileViewer that uses custom observable models.
- Font Picker - demonstrates form-based data binding to adjust the sample rendering of system fonts.
- Greet - a Twitter client that shows Joint Java/Groovy compilation.
- SwingPad - a scripting console for rendering Groovy SwingBuilder views.
- GroovyFXPad - a scripting console for rendering GroovyFX views.
- FxBrowser - a trivial JavaFX-powered browser that demonstrates Griffon’s integration with JavaFX.
- WeatherWidget - demonstrates binding, threading and plugin usage.
Groovy guru Russel Winder gave his seal of approval on Twitter, tweeting:
Congratulations to Andres Almiray and his team – this looks like a very exciting project for the Groovy ecosystem. Follow the latest Griffon updates, by following their dedicated Twitter account – @theaviary and check out all the changes in the Release Notes.
If you want to learn more about Griffon, why not check out the article in Java Tech Journal from Andres himself, devoted to his project, and you too can pick up the pace of this cool framework.