Griffon @ SpringHispano

Posted by: Andres Almiray on 2009-10-08 17:31:00.0
Last Saturday (Oct 3rd) the SpringHispano community held its 9th community session. Domingo Suárez (@domix) kick-started the session with a talk on Apache Camel. If your daily job requires you to integrate disparate systems in order to get the job done you may want to give Apache Camel a closer look. The second talk of the day was given by yours truly, the topic being a fond one to my heart: Griffon. Both talks were live streamed thanks to the efforts of Erick Camacho (@ecamacho) and Wulfrano Moreno (@wulfrano), you can find the videos at this link.

Now if you pay attention to the Griffon video (even if Spanish is not your language du jour) you'll notice something funny with the slides. This happens because I didn't use any regular presentation software, it was a Griffon application. Yes, you're seeing a Swing-based, Griffon powered application. It wouldn't have been possible without the efforts of the following people and their Swing related projects (in no particular order): All those projects and Griffon come together to build the application in a seamless way. The code is available at http://github.com/aalmiray/griffon-talk. These are the app's stats:

    +----------------------+-------+-------+
    | Name                 | Files |  LOC  |
    +----------------------+-------+-------+
    | Models               |     2 |    37 |
    | Views                |    30 |   781 |
    | Controllers          |     2 |    53 |
    | Lifecycle            |     5 |     9 |
    | Groovy/Java Sources  |     1 |    28 |
    | Integration Tests    |     2 |     8 |
    +----------------------+-------+-------+
    | Totals               |    42 |   916 |
    +----------------------+-------+-------+
916 lines of code, and I have the feeling a few more can be shaved off. Oh, in case you're wondering, that application was developed in day, most of the time was spent tweaking the layouts and arranging the components. Who's up for a presentation DSL? The following is a short video of the application in action



UPDATE: take the app for a spin! download the jar from github [alternate link], then type 'java -jar griffon-talk.jar' (or double click on it on Windows). Requires JDK6.

Keep on Groovying!
be the first to rate this blog


About Andres Almiray

Andres is a Java/Groovy developer with mode than 10 years of experience in software design and development. He has been involved in web and desktop application developments since the early days of Java. He has also been teacher of computer science courses in the most prestigious education institute in Mexico. His current interests include Groovy, Scala and Swing. He is a true believer of open source and has participated in popular projects like Groovy, Griffon, JMatter and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework.

He likes to spend time with his beloved wife, Ixchel, when not hacking around.