Griffon news roundup
Griffon news roundup
Join the DZone community and get the full member experience.Join For Free
Learn how to build stream processing applications in Java-includes reference application. Brought to you in partnership with Hazelcast.
The last four weeks have been very exciting for the Griffon project, here are a handful of links that sum up what has happened during that time:
Griffon 0.1.1 released just in time for the gr8conf 2008, actually a few hours before Jim Shingler took the stage and talk about making a Griffon frontend for Graeme Rocher's Twitter server made with Grails. Jim made the code available at this link.Speaking of gr8conf, Peter Bell has written juicy and insightful reviews of all the sessions.
The same Jim Shingler announced the availability of gConfig 0.1 just a few days shy of JavaOne 2009 starting. gConfig is a Griffon based application that helps you configure other Griffon applications, for example it will list all currently available plugins allowing you to pick which should be added to your application. It also lists useful 3rd party libraries like MigLayout, GlazedLists and FamFamFam icons. Lastly it may add useful templates for setitng up a Menubar, statusBar, toolBar and help menu, complete with a Tip-of-Day feature. Boostrapping a Griffon application just became a lot easier.
Another guy working furiously on Griffon stuff before JavaOne kicked in was Geertjan Wielenga, he alone took the task of refactoring the NetBeans Grails plugin into a Griffon plugin, posting updates here and here. What is amazing is that he was able to release an alpha version of the Griffon plugin during JavaOne week, not only that, he also demoed the plugin live at the NetBeans booth to whomever walked nearby. The same plugin was demoed at Dierk Koenig's talk "JavaFX Programming Language + Groovy = Beauty + Productivity" and the Griffon BOF (slides here). This is a great achievement, it also means NetBeans is the first IDE providing Griffon support, talk about commitment to Groovy :-)
This year's Scriptbowl had 5 contenders: Jython, Groovy, Clojure, Scala and JRuby. Though every delegate did its best the crown went to Groovy this year, in Guillaume's own words via twitter "Groovy won the Script Bowl at #javaone thanks to the griffon team for the demo". Here are a few snapshots of the demo: a mashup of NASA WorldWind and TwitterAPI, packaged as a Griffon application (Twittersphere)
These are the stats, impressive!
| Name | Files | LOC |
| Controllers | 1 | 154 |
| Models | 1 | 21 |
| Views | 1 | 95 |
| Lifecycle | 5 | 4 |
| Java Source | 2 | 403 |
| Integration Tests | 1 | 4 |
| Totals | 11 | 681 |
Then Jim Shingler strikes again with another Griffon plugin release, this time it is an AbeilleForms Designer builder. AFD is a visual designer similar to NetBeans Matisse and JFormDesigner with the added benefit that its Open Source and free. This plugin allows you to insert any AFD form into your Griffon application.
While people were circling the halls of the Moscone Center, Bob at Transentia posted a good write up on Riding the Griffon, in other words how he created a Griffon application to scratch an itch, learning some Griffon tricks in the process.
Dierk's talk caused quite the conmotion in the audience (he is such a great speaker), Geertjan was sure to capture but one of the facets shown in that talk, which is having Groovy provide the logic for a JavaFX powered application,demonstrating that both languages can coexist in the same application.
That last link made think back on FxBuilder, which was also demoed on stage by Dierk running on NetBeans + Griffon, prompting an update on the current state of affairs regarding FxBuilder. Bottom line is that keeping up with the changes coming in every JavaFX SDK is an ardous task, if anybody likes to lend a hand bringing the builder up to speed please let me know.
On other developments Geertjan decided to try out the Wizard plugin, resulting in a series of posts where he sets up a database powered Griffon wizard application
Speaking of database powered Griffon applications, while there is no GORM plugin yet you can use Groovy SQL and Groovy's GSQL module to setup a database, here is a mini howto by yours truly.
Lastly there is a new couple of things that can make styling a Griffon application much easier, mainly CSSBuilder and its companion Griffon plugin. If you ever wanted to style a Swing application with CSS here's your chance, this is another update before release 0.1.
Opinions expressed by DZone contributors are their own.