Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
The Definitive Guide to Grails 2 2013th Edition
Use the Amazon App to scan ISBNs and compare prices.
Best Books of the Year So Far in fiction, nonfiction, mysteries, children's books, and much more.
Frequently Bought Together
Customers Who Bought This Item Also Bought
Top Customer Reviews
Written for a beginner to Grails/Groovy, it's probably the first book to get on the subject if you are going to start with Grails. Has a good depth of topics covering just about all aspects of the Grails framework.
Even includes an appendix primer on Groovy (the language underlying the framework) so you might actually want to read that first.
Once you're done with this book you can move onto Programming Grails by Burt Beckwith to get into the deep innards of Grails if you want more. Also, maybe a Groovy book to get the language in some more detail. Programming Grails
Finally, a bit of context. Grails is very much the Java analog to Ruby on Rails. You'll find much of the features of Rails for a Java JVM environment, with complete interoperability with existing Java classes and toolset. So if you're a Java/Spring shop and thinking about getting the goodness of a framework like Rails but without completely leaving what you know, try Grails.
I recommend following the course that I did. I first read Grails 2: A Quick-Start Guide. This book gives you a good overview of Grails. If you're developing a simple web application this book may be all you need.
However, if you need to use Grails for a complex web application you need to read this book next.
Grails gives the developer a way to manage complex web environments, with dynamically created web content. Grails is built on top of Hibernate and Spring. I am using a Postgres database and multiple Tomcat web servers behind a load balancer (all hosted on Amazon Web Services).
This book takes the reader though using the Grails Model-View-Controller structure, where the model consists of the data structures persisted in the database, the controller is the logic that manages the web pages and creates dynamic content and the view consists of the web pages.
Grails is complicated and it has a huge learning curve. One reason for this is that Grails is designed for a complex problem: handling web sites with many web pages and complex control logic. This book and the on-line Grails documentation were critical resources.
Grails has features that help unpack data structures as they are passed between web page forms and the Groovy logic that processes it. Compared to the issues of dealing with the complexity of web application design, I don't find these features terribly compelling. They save me a few lines of code, at best.Read more ›
I like that it covers certain topics well. Such as how Config.groovy works and how to use it to configure services. I still refer to the book for this info. And I like the coverage of Gorm.
But then the frustrations being. First, I was using Grails 2.4.4, which has enough differences to make some of the code in the book not work, such as the unit tests. I got through this with little difficulty because I was already familiar with the Grails 2.4.4 documentation. So far, a minor inconvenience. Then came the incorrect references to illustrations/code, the gTunes "tutorial" doesn't distinguish between the code you should write and the code you just need to observe, and the unmet claims: Wicket (whatever that is) and security (not covered at all).
In the end, I'm barely satisfied. Useful, but didn't quite meet my expectations.
Currently I'm reading Programming Grails, and it doesn't replace but complements this book. I think you should read them both.
Most Recent Customer Reviews
Excellent mid-level coverage of the Grails web application framework. The only shortcoming was it has only a single chapter dedicated to plug-in extensibilityPublished 9 months ago by Christopher Johannsen
I bought this book to learn grails for a project at work, I learned a lot but I had to investigate all about the spock languaje for the testsPublished on June 22, 2014 by Ana M. Franco C
I give this book 5 stars. It is well organised. The sample application is easy to follow. And it opens with the general introductions on different topics within the Trails... Read morePublished on May 22, 2014 by Tim Leung
Well done to the authors for a well written book on Grails. This is my introduction to Grails and combined with internet searches for any in-depth extra info - I have all I need to... Read morePublished on January 7, 2014 by William Jones
This is a good book to get to know grails with the condition you worked with a similar framework. If you worked with ruby on rails, this book will provide you a smooth start to... Read morePublished on August 15, 2013 by Filip Radovcic
So i wanted to learn Grails and came across this book.
Since i have a background in spring mvc i was able to grasp the concepts pretty quickly reading this book. Read more