Today's interview features the Groovy luminary Guillaume LaForge.  Guiallume's work on improving the Groovy language paved the way for the innovative frameworks such as Grails and Griffon, and showed a whole generation of Java developers to stop worrying and love dynamic programming.

Guiallaume is the Groovy project lead, and is constantly improving the language.  One of his newer efforts is the App Engine framework Gaelyk.  Running on top of Groovy, this framework allows developers to build Google App Engine web sites with very little effort.  We talked to Guillaume about the project, and about his thoughts on Java 7 as well.  This week we took questions from the 'twitterverse', and I started using Google Wave to edit my show notes.   

Upcoming Groovy 1.7 features...

  1. Support for anonymous inner classes (before suggested you use closures)
  2. Providing an AST Builder, to make it easier to provide AST transformations (such as @Singleton, @Delegate).  AST transformations are compiled into bytecode.

Gaelyk - The Google App Engine framework

  1. Groovlets, small groovy web scripts - just write a script!
  2. Templates - separate Groovy code from view
  3. Injects Google features into scripts, not abstract them too much
  4. Sitemesh templating: Guillaume is researching sitemesh integration but likely not including it directly (providing instructions at some point)
  5. Question asked by @wmacguyver on what Groovy
    1. DataStore was easy to wrap with a thin veneer - is hoping to more groovify and add a DSL around it
    2. Mail - added ONE method to enrich base class to make it eaiser to use from scripting
    3. Route support in 0.32 - was more work but not complex to do...
  6. Asked about what projects running in Gaelyk - early days... but check out groovyconsole.appspot.com - a way of executing Groovy code online and sharing snippets.  Written by Guillaume.  Another one out there is a javascript toolkit for writing iphone web apps iui - demo app is built on Gaelyk (no link avaialble)
  7. Also hosted on Gaelyk:  Gaelyk project itself
  8. Community feedback - will drive some enhancements, obviously Guillaume is very committed to Groovy language too!
  9. Users have become contributors - submitting suggested changes / patches, these are very welcome.
  10. Future feature:   Querying support on deck potentially for datastore, simple SQL queries don't work on a NO-SQL database.

Question from twitter user @HamletDRC: @techcast Which JDK7 feature will effect Groovy the most: Closures, Jigsaw, or something else? (question for @glaforge)

Java 1.7 Closures -

  1. The working document - mentions dynamic interfaces for closures, groovyc compiler could create same interfaces under the hood - could be interoperable POTENTIALLY...
  2. Could we pass groovy closures to a java class?  No implementation yet, so we need to see how languages work together...
  3. Java closures - cannot access non-final vars, etc... Shouldn't replace Groovy closures with Java closures...


Jigsaw (JDK modularity)

  1. Interesting to investigate.  Would be nice to modularize Groovy a bit - maybe pull pieces into modules (groovlets, etc)... OSGi is an option as well, need to evaluate. 

Thanks also to lucaxtex for his tweet: lucastex @glaforge incredible work on #gaelyk UrlRoutes! This is getting sweeter each day :)

Direct download: TechCast-46-Gaelyk-with-Guillaume.mp3
Category: techcast -- posted at: 11:43 AM
Comments[0]

Listen Now!

Click the icon on the show title to download a show, or:

Podtrac Player

Subscribe (full feed)!

Ken Rimple, Chariot Solutions - Chariot Tech Cast - Chariot Tech Cast Subscribe via rss

Sub-feeds

The TechCast rss
Conference Sessions rss
BizCast rss
DevNews! rss

Listener Feedback

New Survey!

Take podtrac survey

There are lots of ways to get involved. Here are a few...

Archives

2010
January
February
March
April
May
June
July
August

2009
February
March
April
May
July
August
September
October
November
December

2008
February
March
April
May
June
July
August
October
December

Favorite Sites

Thanks for attending
Visit our ETE Community Site

About the TechCast...

We bring you interviews with project creators, architects and consultants, and feature major open source projects and initiatives, such as Spring, Flex and RIA technologies, Mule, Groovy/Grails, Rails, Scala, Cloud Computing (Amazon, Google), and much more.

About the host

Ken Rimple got into recording at an early age by watching his father work at radio stations in the Delaware Valley. He has more than twenty years experience in information technology and has a keen interest in emerging and innovative trends in software development, as well as interest in the people behind the technologies.

Disclosures

From time to time, we discuss news items related to specific companies and projects. We will make every attempt to disclose any relationships during our podcasts. Some of our partners include:

  • SpringSource
  • JBoss, a division of RedHat
  • Sun / Oracle
  • MulesSoft
  • Engine Yard
  • Apache
  • Sonatype

Plugs and Feedback...

We are using Free Theme #3 and Free Theme #4 from podcastthemes.com. Mark Blasco works very hard at customizing themes for individual podcast, including This Week in Tech, MacBreak Weekly, and many others.

Please leave feedback via comments or email.


Syndication