Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Griffon] My success story

 
Sebastien Blanc
author
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
Andres Almiray
author
Ranch Hand
Posts: 47
Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your input Sebastien!
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am still trying to understand what in Griffon it makes a clone of Grails?
 
Andres Almiray
author
Ranch Hand
Posts: 47
Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
    Posts: 686
    Chrome Netbeans IDE Ubuntu
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for the clarification!
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic