• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Griffon and Groovy

 
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I saw in a previous post that Griffon uses Groovy. How much experitise is needed in Groovy to use Griffon, as I have absolutely no experience in Groovy (I work for a government agency, and we are quite slow to adopt new languages).

Thanks.
 
author
Posts: 47
VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mike,

You don't need to be a Groovy expert in order to take advantage of the framework. A great thing about Groovy code is that you can write it as if it were Java code, that is, the syntax is 98% close to Java. As time passes by and as you feel more comfortable with the language you can switch to a more idiomatic version.

However, we're aware that some people won't be able to make the switch (for a wide variety of reasons), that's why Griffon provides top-notch Java support as well. Yes, you can write a Griffon application in 100% Java code. The Griffon Guide has an entry about that topic here

http://dist.codehaus.org/griffon/guide/guide/13.%20Tips%20and%20Tricks.html#13.2%20Dealing%20with%20Non-Groovy%20Artifacts

Basically, you start by creating an application with the following command



All artifacts (Controllers, Models, Views & Services) will be initialized using a Java based template. The Griffon APIs are Java and Groovy friendly. If you're curious about Groovy I would recommend you to pickup to great books:
- Groovy in Action 2nd edition (currently in MEAP)
- Programming Groovy by Venkat Subramanian

Cheers,
Andres
 
Mike Firkser
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic