2.0 out of 5 stars
Irritating, 16 Sep 2011
This book reads more like marketing. Everything is "easy" but little is rigorously described.
Indeed the example application seems to "work" but it is fairly trivial, one doesn't really get the feeling one has proved anything other than hacking to make a very special case work, and one doesn't get any feeling for whether this could scale up to persisting 100's of 1000's of objects (in fact - not many) from what I see, I strongly suspect not. It's difficult to tell whether there are limitations in Grails, Hibernate, or the book is glossing over difficult subjects. The book seems unable to decide if it is an easy primer or if it is a book of reference "The definitive guide to" would suggest the latter.
I suggest reading p51 paragraph "Customizing Your Database Mapping" to get an idea why this book is so irritating. Excluding the code examples, more than half of the actual text in the page is empty and patronizing hype. What might be more useful here might be a definitive list of the available type mappings, or a definitive and complete list of the syntax of the mapping variable.
Perhaps the problem with this book is that it is so driven by the example application that one doesn't get the feeling of having a full view of what is possible or might be interesting to try out in order to think before starting to hack.
I also find the type-setting detrimental to the readability.
Please change as follows:
Less "it's easy to..."
More "the options are..."