wood burning stoves 2.0*
The moose likes Groovy and the fly likes [Griffon] My success story Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Groovy
Bookmark "[Griffon] My success story" Watch "[Griffon] My success story" New topic
Author

[Griffon] My success story

Sebastien Blanc
author
Ranch Hand

Joined: Nov 18, 2004
Posts: 33
Griffon can be considered as a clone of the grails framework, except that instead of rendering html pages on a web browser it renders a Swing application.

So all these Groovy scritps that you made but that requires a lot of interactions , inputs from the user can now be wrapped in Griffon. You don' t have anymore to type incredible long command lines to include all you parameters, even a non-IT guy can use your scripts !!!

In my opinion, griffon will firstly helps developers teams who wants to increase their productivity and to prove this I have a personal experience that I will share with you now :
I'm currently working for a customer who build educational games for children, it's written in Flex. They are a using a custom MVC framework that is quite robust and efficient but each time you start developing a new game (we build 2 games on a 3 week iteration) you have to writes about 10 actionscript classses/MXML components that all requires to implements specific interfaces, create resources bundle, CSS files etc ... Well before you can really start working on the core functionality of the game you spend at least a half day to get the skeleton right (forget to implements some methods, syntax errors etc ...) !

So I rapidly start thinking about a code generator application that could do all this stuff for my team.
These were my requirements :
- Access easily the local file system (create the files in your workspace)
- Using a simple template engine
- A friendly user interface

The same week I started my mission I discovered Griffon and it was the perfect candidate for my requirements : Swing app for the UI, Groovy templates and I have a lot of experience with the grails framework. I built the application in less than a day and show this to my project leader , he was very impressed : starting a new game project was now a matter of a few seconds instead of a half day of work ! About more than 300% productivity gain !

We are using this griffon app for each new game we start and everybody in the team is very happy to focus on the core functionality and not setting up the skeleton !

So everybody who loves groovy/grails and use it inside teams for support purpose (analyzing/extracting logs patterns), code generation etc .. I really recommend you to take a look at griffon !

Sebastien Blanc
Pro Android Web Apps: Developing HTML5, JavaScript, CSS, and Chrome OS Web Apps
Andres Almiray
author
Ranch Hand

Joined: Jan 25, 2010
Posts: 47

Thank you for your input Sebastien!
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

I am still trying to understand what in Griffon it makes a clone of Grails?


===Vyas Sanzgiri===
My Blog
Andres Almiray
author
Ranch Hand

Joined: Jan 25, 2010
Posts: 47

Griffon borrows Grails' build structure. Basically you'll build a Griffon application in the same way you build a Grails one. The available commands are pretty much the same; you can extend the framework's capabilities by adding your own scripts. Griffon also follows the same principles as Grails: MVC pattern, Convention over Configuration, DRY, automated tasks, testing out of the box.
They differ in the following aspects:
  • Griffon does not bundle spring nor hibernate, nor supports domain classes on core. You install additional plugins to get them. This allows lightweight applications
  • View technology is clearly different
  • Can't reload a Griffon application as you work on the code. this is due to Swing's limitations once a component has been realized


  • Cheers,
    Andres
    Vyas Sanzgiri
    Ranch Hand

    Joined: Jun 16, 2007
    Posts: 686

    Thanks for the clarification!
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: [Griffon] My success story