I’ve talked to “the guys,” and they’re all cool with me making a top-level page to house this series. It’s going to be my main focus for a while, and it’ll focus on a number of short tutorials that cover most of what you’d need to know to go from being a good CF developers to a good Grails developer.
They’ll start with the basis – installing Grails, making a page, connecting to a database – and work on up to including Spring security, testing, building, and deploying your applications.
Introduction
- What is Grails? (Coming Soon)
- What is Groovy? (Coming Soon)
The Basics
- How to Install Grails
- Installing a Free Grails IDE (Springsource Tool Suite)
- Creating a Page in Grails
- Creating Forms in Grails
- Creating Templates (Layouts) in Grails
Working with Models and Data
- Connecting Grails to MySQL (and others)
- Grails Models: Creating, saving, and querying data
- Grails Models: Many-To-One and One-To-Many Relationships
- Grails Models: Many-to-Many and One-To-One Relationships
- Grails Models: Custom Object Mapping
- Grails Models: Basic Validation (Constraints)(Coming Soon)
- Grails Models: Custom Validation
ColdFusion Features in Groovy/Grails
- Application.cfc
- Debugging
- Scheduled Tasks
- Sending Mail
- Working With PDFs
- Working With Office Documents
- Threads
- Caching (Ehcache)
- IO
- File/Directory Operations
- VFS
If there is a specific topic you would like to see covered just let us know and we’ll look into it. Until we have a proper contact page you can tweet us with your ideas!
The rest is a work in progress. I’m currently laid up with a massive knee injury, so the 10-15 hours I normally spend a week riding a bike are going to have part of their time spent here.

Joe,
This is a really good series and approaches it from an angle that most ColdFusion developers can relate to. Just thought I’d share another resource that I also found useful. InfoQ has a Getting Started with Grails book that is a free PDF download.
http://www.infoq.com/minibooks/grails-getting-started
David – is that book for Grails 2?
Published in 2010, so I doubt it…
Scott,
The InfoQ book covers 1.2.x. I was using it with 1.3.x and 2.0.x to get familiar with the basics since I learn better with books. The only Grails 2 book that I know of is The Definitive Guide to Grails 2, but won’t be released until December 2012.
Pumped about this.
thanks Joe ! enjoying these tutorials so far. Working on making the leap from CF to Grails, really appreciate the help.
Sorry to hear about your knee, hope you can get back on your bike soon.
Hey Matt – both “you’re welcome” and “thanks.” Next post coming soon, it’s just been a busy week getting back to work.
In the meantime, be sure to check the blog’s homepage – Todd’s got Grails articles coming out for the next few days.
Looks like parts 4 and 5 are available now (and this page just hasn’t been updated yet):
4. http://compiledammit.com/2012/08/27/grails-models-many-to-many-and-one-to-one-relationships/
5. http://compiledammit.com/2012/08/28/grails-models-custom-object-mapping/
Oops…got bitten by scheduled publication. They’re now linked.
Thx Joe & Gang for setting this page/portal up for us CF folks looking for new dev adventures
I have a question though, and I think it would help all of us.. can you guys explain why you chose Grails over RoR ? Being a newbie to this arena, I don’t quite understand all the diffs. Thx, and I plan to dive in!
For me, it’s largely the ease with which we’ve been able to transition. Groovy reads much like our primary client-side language (JavaScript), isn’t entirely foreign to our team that’s used to some Java development, and allows us to use Java tooling with which we’re already familiar. Within our market, it’s also a lot easier to sell JEE or .NET solutions than Rails/PHP/etc – but that’s pretty specific to our clients.