The command line

GNU/Linux, web development and some other things

Groovy & Grails Tutorials

A few weeks ago I gave a 3 day intro course on Groovy and Grails. I had little time to prepare but in the end all went ok and the participants were very surprised of the dynamic nature of the Groovy language and of the easy of development that Grails brings to the Java world. In the middle of the course preparation I ended searching for a way to store the data of the presentation in a non-binary way, that is, in a textual format, so that I could version it and diff it correctly. I found schacon’s ShowOff and tried it. I liked it a lot so I use it for my presentation. This is how you install showoff in Debian Squeeze: Install rubygems: aptitude install ruby ruby-dev rubygems Update rubygems: gem update Install ShowOff gem install showoff Then I moved to the ShowOff’s directory for my presentation and ran: showoff serve This make my presentation show up in port 9090 of my local machine. So I browsed to http://localhost:9090 and there it was. Of course ShowOff isn’t MS PowerPoint, and doesn’t try to be either. Instead, it offers a few basic styles, transitions and font styles and sizes. Nothing else. And this is what puts ShowOff apart of any presentation software. It is so easy to setup and have a web-enabled presentation in minutes. One thing that is missing and it is needed a lot is a way to convert the presentation to PDF format, so it is easy to share to other people or to upload to sites like slideshare. Other than that, I didn’t need some particular feature of PowerPoint. Less is more sometimes. Anyway I am releasing the Groovy & Grails presentation as a Creative Commons Attribution-NonCommercial-ShareAlike license so, feel free to use it and improve it. They are hosted on GitHub: Groovy Tutorial Grails Tutorial So fork them and use them.