Skip to main content.

Archive for September, 2011

News Roundup: Gretty, Gradle, And Ruby On Grails

Tuesday, September 27th, 2011

Java development 2.0: Ultra-light Java Web Services With Gretty

Andy Glover has written an article for his IBM developerWorks series on Gretty, the ultra-light web server framework based on Groovy++.

Gradle: Domain Specific Language Based Build Tool

The Fall 2011 issue of Methods & Tools contains an article by Evgeny Goldin in which he introduces Gradle, focusing on its heavy use of Groovy DSLs.

Smart Bash / Zsh Aliases To Run Appropriate Grails Version

Ted Naleid has posted a helpful bash script which can decide which version of Grails to run for a project based on its application.properties file.

Groovy Goodness: Use inject Method On A Map

Mr. Haki is, as I noted last week, back to posting groovy tidbits in his daily Groovy Goodness series. Today he shows us how to use Groovy’s inject() method in a Map. (This feature is new in Groovy 1.8.1.)

A Ruby Plugin For Grails

This week, Bobby Warner announced that he has created a plugin which integrates JRuby with Grails. He wrote a post on his blog, describing how he built the plugin, and its source is (of course!) on GitHub (see also: the plugin’s sample application). This entire deal started as a follow-up effort to his earlier post, “Polyglot Grails,” in which he described a Grails application that can calculate Pi in Clojure, Ruby, Python and JavaScript.

News Roundup: Groovy Goodness, Groovy On GitHub

Tuesday, September 20th, 2011

“Groovy Goodness” by Mr. Haki is back

Mr. Haki has returned to his series on Groovy language features after a few months away. Many of the bits he discusses are new in Groovy 1.8, and all are worth the reading.

Patching bean-fields On 2.0.0.M2

The bean-fields plugin by Marc Palmer is messed up a bit in Grails 2.0 M2 by a breaking change in that release. This will not be an issue in RC1. In the meantime: Glen Smith explains how to resolve it with a simple modification to the taglib.

Groovy On GitHub

This summer, the Groovy team (with help from Matthew McCullough) moved Groovy’s source to GitHub. See the links in this post by Guillaume Laforge.

Plugin releases

Grails Alfresco Plugin — 0.5: integrate Alfresco with a Grails application

Grails Horn Plugin — 1.0: provide JS libraries and tags for embedding data in HTML content

Grails Twitter Bootstrap Plugin — 0.2: provide Twitter Bootstrap files

Grails Image Builder Plugin — 0.1: provide a simple image builder

Grails Geolocation Plugin — 0.2: add HTML 5 geolocation support

Grails External Configuration Plugin — 0.4.5: reload external configuration files

Grails Spreadshirt Plugin — 0.5: integrate Spreadshirt API features into a Grails application

Grails Cucumber Plugin — 0.1.0: test Grails applications with Cucumber

Grails GSP Template Rendering Plugin — 0.1: cache rendering of a GSP or fragment of a GSP

Grails Template Profiler Plugin — 0.1: profile GSP template rendering time, etc.

Grails Console Enhancement Plugin — 0.2: enhance Grails console output for better visibility

Grails Bean Fields Plugin — 1.0 RC3: provide tags for rendering form fields for domain and command objects

News Roundup: New Groovy Releases, Grails 2.0 M2, Groovy++, and Happy Birthday, Griffon

Tuesday, September 13th, 2011

Groovy 1.8.2 And 1.9-Beta-3 Are In The Wild

Guillaume Laforge and the Groovy development team have announced new releases in both of the Groovy branches: 1.8.2 in 1.8 and the third beta of 1.9 (which due to an accidental early release had to be renamed from “beta 2”). These are both chiefly bug-fixing releases, but, as Guillaume points out, they also include “the completion of the primitive type arithmetics performance optimizations.” (This has a somewhat targeted audience: “Microbenchmarks affictionados should be happy.”) You can see the release notes at the CodeHaus, but you are going to download it anyway, so…

Groovy++ 0.9.0 released

Also in Groovy language releases: Alex Tkachman has announced Groovy++’s 0.9.0 release. They are expecting to have 1.0 out before October 4. (This release has been tested with Groovy core v. 1.8.2.)

And speaking (or typing) of Groovy++: Here is a set of benchmarks (Groovy++ vs. Java) which was recently brought to my attention.

Grails 2.0: a second milestone release

The Grails development team has released the second milestone of Grails 2.0. This is worthy of some excitement: if you follow that link (or even if you do not, seeing that I am here telling you about it), you may notice that this is the last milestone release of Grails 2.0. The next release will begin the round of RCs, and the Grails developers expect to have the final 2.0 release out in mid-October. You may wish to see the “What’s New” section of the docs again; it has been updated for this milestone.

A New Skin For The Groovy Website

Have you visited groovy.codehaus.org recently? (I jest. Of course you have not.) Guillaume Laforge, in response to the plea of millions of developers a discussion on usability and user experience as it relates to language adoption ;) , has put together a (temporary) (very fine-looking) new design for Groovy’s website. The Groovy team is already working with a web designer for a better and more lasting design, as well as improving Groovy’s documentation. See Guillaume’s blog post for details on how it was done (and a disclaimer).

Griffon Reaches 3rd Year

Andres Almiray has put up a birthday post for Griffon, the Groovy RIA framework, which was started three years ago this week (or rather last week). The Griffon team is working on “two big overhauls” to the framework; for now, he describes several highly interesting features available in the current release.

Optimising Your Application With Grails Resources Plugin

Marc Palmer has posted a highly detailed article describing the use of his Resources plugin for Grails (which will be built into Grails by 2.0).

Groovy, Fastest Growing Language According To eWeek

This was spotted by Guillaume Laforge: eWeek’s new article on programming language trends tells us that “…in the time frame this slide show depicts, Groovy saw the largest increase in jobs” (this begins in November 2009).