Faster Asset Compilation with Grails Asset-Pipeline!

Posted by David Estes on Feb 25, 2014

War building in Grails can be a time consuming process. With the addition of the asset-pipeline it can grow longer. This, however, is better than the alternative of slowing down your app startup time. Lets talk about what the asset-pipeline does during this war compiling phase.

First the build scans your current app, and all installed olugins for assets to compile. For plugins this includes the 'web-app' folder in order to facilitate easier migration. Then, the asset-pipeline scans for...

Using SASS/SCSS In Grails

Posted by David Estes on Jan 21, 2014

Recently I completed the public release of the sass-asset-pipeline for Grails. This plugin brings the widely popular SASS/SCSS, and Compass stylesheet language into the Grails world. Granted, there were a few plugins that made this available to grails before, although it required a lot more work to use, or you could just have used the compass watch . style means of compiling your sass into css.

With this new plugin, we've tried to make it as easy as possible for developers to integrate...

New Home For My Blog

Posted by David Estes on Jan 19, 2014

This has been a long time coming, but its time to setup a personal site with which I can write about my work, and provide any other helpful guides for newcomers to the development world. While I don't always get a chance to write a lot of blog posts, I intend to try and spit out at least one a week (lets see how long that lasts).

There are a couple reasons I decided to move my blogging to this site instead of Redwindsw. One of which is the fact that these posts don't always hit the target...

Moving from Rails to Grails (Differences and Similarities)

Posted by David Estes on Jan 19, 2014

Rails and Grails are both great, powerful frameworks with many core similarities and differing approaches. They both share a strong preference to convention over configuration and they both follow the MVC style of frameworks (though Grails adds a new concept called services we will go into later. I have had the pleasure of working heavily with both frameworks and learning about their various quirks. This is coming from the perspective of a formerly full time rails developer and the transition...

Grails Asset Pipeline - Why it's better

Posted by David Estes on Aug 03, 2013

There are several advantages to using the asset-pipeline instead of the standard grails resources plugin.

  • File dependencies are in the top of your assets. (No Resources.groovy)
  • Assets in plugins become level with your app.
  • On the fly processing in Development mode (No more waiting for reloads)
  • Coffeescript, LESS, and others become first class citizens ( debuggable )
  • Require entire folder trees with one line
  • Better minification (UglifyJs) , and compiling before the WAR is built
  • Faster application...