Grails Diary - Week 8 in 2014

23 February 2014

Grails 2.3.6 was released this week, now including the ability to use Gorm outside of Grails, and transactions across multiple datasources. An example of using Gorm outside grails is here.

A serious information disclosure issue with versions of Grails prior to 2.3.6 was discovered. It is not hard to fix, so it is recommended to either upgrade to 2.3.6 or insert the following lines in grails-app/conf/Config.groovy

grails.resources.adhoc.includes = ['/images/**', '/css/**', '/js/**', '/plugins/**']
grails.resources.adhoc.excludes = ['/WEB-INF/**']

More information can be found here and here

The grooscript library to convert Groovy code to Javascript has released a new version: 0.4.4

Videos of presentations

Blogs, articles, etc.

New Plugins

  • Spud Permalinks Plugin Creates a filter for redirecting urls from one location to another and provides an admin interface for defining these permalinks.
  • Spud Security Plugin Implements Security, using Spring Security Core, for SpudCore and the rest of the spud suite. Spud Security also provides user models and role models that can be managed from a convenient administrative panel within the spud admin.
  • Spud Core Plugin Spud Admin is a dependency package that adds a nice looking administrative panel to any project you add it to. It supports easy grails app integration and provides core functionality for spud modules.
  • Karman AWS Plugin Karman AWS provides an Amazon S3 Interface to the Karman API
  • Karman Plugin Karman is a standardized / extensible interface plugin for dealing with various cloud services including Local and S3.
  • Sitemaps Plugin Creates a standard interface for building sitemaps via a common Sitemap Artefact.
  • Catharsis Widgets Catharsis.Grails.Widgets is a Grails 2 tag library, which provides useful social tags to include on web pages of your site (Cackle, Disqus, Facebook, Google, IntenseDebate, Mail.ru, RuTube, Surfingbird, Tumblr, Twitter, Vimeo, VKontakte, Yandex, YouTube)

Updated Plugins

  • Plastic Criteria Plugin Mock Grails Criteria for Unit Tests
  • Spud Core Plugin Spud Admin is a dependency package that adds a nice looking administrative panel to any project you add it to. It supports easy grails app integration and provides core functionality for spud modules.
  • JavaMelody Grails Plugin Integrate JavaMelody Monitoring into grails application.
  • Karman Plugin Karman is a standardized / extensible interface plugin for dealing with various cloud services including Local and S3.
  • Spud Permalinks Plugin Creates a filter for redirecting urls from one location to another and provides an admin interface for defining these permalinks.
  • Spud Security Plugin Implements Security, using Spring Security Core, for SpudCore and the rest of the spud suite. Spud Security also provides user models and role models that can be managed from a convenient administrative panel within the spud admin.
  • Asset Pipeline Plugin The Asset-Pipeline is a plugin used for managing and processing static assets in Grails applications. Asset-Pipeline functions include processing and minification of both CSS and JavaScript files. It is also capable of being extended to compile custom static assets, such as CoffeeScript.
  • Karman AWS Plugin Karman AWS provides an Amazon S3 Interface to the Karman API
  • Resources HTML resource management enhancements to replace g.resource etc.
  • Segment.io Plugin The Segment.io Plugin allows your Grails application to use Segment.io. Segment.io lets you send your analytics data to any service you want, without you having to integrate with each one individually.
  • Retina Tag Plugin Adds retina resolution image tag support for asset-pipeline.
  • Spring Security REST Plugin Implements authentication for REST APIs based on Spring Security. It uses a token-based workflow
  • Hibernate 4 for Grails Provides integration between Grails and Hibernate 4 through GORM
  • Prerender Plugin Installs a servlet filter to proxy requests to prerender web service, to provider better SEO for AJAX powered websites. Learn more at http://prerender.io.
  • Sitemaps Plugin Creates a standard interface for building sitemaps via a common Sitemap Artefact.
  • Catharsis Widgets Catharsis.Grails.Widgets is a Grails 2 tag library, which provides useful social tags to include on web pages of your site (Cackle, Disqus, Facebook, Google, IntenseDebate, Mail.ru, RuTube, Surfingbird, Tumblr, Twitter, Vimeo, VKontakte, Yandex, YouTube)
  • Api Toolkit The Grails API Toolkit is a set of tools that automate alot of the tasks needed to build your API by combining the functionality of REST, RPC and HATEOAS. Some included functionality includes api docs, real time notifications / webhooks, generated headers, responsive content type and more.
  • Ember.js Asset-Pipeline Plugin Provides Ember.js integration with asset-pipeline. Allows for handlebars precompilation as well as scaffolding for building an emberjs application.
  • Handlebars Asset-Pipeline Plugin Provides Handlebars precompiler support for the asset-pipeline static asset management plugin.
  • Grails Apache Nutch alternative Very simple alternative to Apache Nutch created i
  • iCalendar Plug-in This plugin contains a builder to easily convert your event into the iCalendar format. The plugin hooks replaces each render method that uses the contentType 'text/calendar'.
  • Apache Tomcat plugin for Grails Makes Tomcat 7.0 the default servlet container for Grails at development time.
  • Redis Plugin The Redis plugin provides integration with a Redis datastore. Redis is a lightning fast 'data structure server'. The plugin enables a number of memoization techniques to cache results from complex operations in Redis.

Interesting Tweets

Conferences and meetups

G48, global, TBD
Greach, Madrid - Spain, March 28th -29th, 2014.
GR8conf Europe, Copenhagen - Denmark, June 2nd -4th, 2014.
SOTR - Scotch on the Rocks, Edinburg, June 5th - 6th, 2014
GR8conf US, Minneapolis - USA, July 28th-29th, 2014.
SpringOne 2GX 2014, Dallas - USA, September 8th - 11th, 2014 (CFP).
Groovy Grails Exchange, London - GB, December 12th - 13th, 2014