|
|||||||||||||||||||||||||||||||||||
|
14 Reviews
|
Average Customer Review
Share your thoughts with other customers
Create your own review
|
|
Most Helpful First | Newest First
|
|
13 of 13 people found the following review helpful:
5.0 out of 5 stars
The best way to get started with Grails,
By
Amazon Verified Purchase(What's this?)
This review is from: Grails in Action (Paperback)
I've read both this book and the older Definitive Guide to Grails, Second Edition, and I'm happy to report that Grails in Action is both more concise and better-organized than that other (nonetheless excellent) tome. It is also slightly cheaper and, until Grails 1.2 is released (it's in early milestone as of this writing, so I wouldn't expect it to be production-ready before 2010), pleasingly up-to-date. There are very few errors, and if you find any, the authors will be happy to help you sort them out in the book's official forum.
The book's great strength is its organization. There's all kinds of online documentation for Grails, including a decent reference manual at grails.org, but searching through the mailing lists and the JIRA when the framework does something unexpected is no fun at all. Grails in Action starts off right with a primer on Groovy (which I found refreshing, even though I've read Groovy in Action), then jumps into practical Grails concepts, which it teaches by example. (The central project of the book, a low-budget Twitter clone, is an excellent showcase for Grails.) The later chapters introduce advanced concepts that are extremely useful but not covered (or not covered well) in Grails' documentation. For example, Chapter 13 tells you how to improve database performance by setting up and enabling EhCache; how to use p6spy and sqlprofiler to easily time your database queries; and how to migrate your database using Liquibase. Other chapters talk about concepts like REST and JMS with surprising clarity. Whether you're a beginner or an experienced Grails developer, I'd say that this is the only Grails book you need.
9 of 9 people found the following review helpful:
5.0 out of 5 stars
Grails developers spoiled for choice,
By
This review is from: Grails in Action (Paperback)
I've been following Groovy and Grails books for a couple years now, and own nearly all of them. Each one has filled a niche, and almost all have been great in letting the voice of the authors come through while keeping the style of the publisher (Manning books have a different feel from Apress, for example).
I had high hopes for this book, and wasn't disappointed. It had tough competition from the recent The Definitive Guide to Grails, Second Edition (Expert's Voice in Web Development) but I think this book *slightly* edges out that one as a Grails resource. Why? It's slightly more up to date, for starters. The chapters on dealing with legacy databases and on adding security to an app were both a bit more informative, or at least I found them a bit easier to follow. This is not to detract from the DGG. If you *can*, I'd recommend owning both, as each presents similar information in a unique style. The Grails in Action book feels somewhat more conversational, which made the reading easier for me. There's a lot more substance other reviewers have given on this book - I'm not sure I'm going to go in to as much detail as they have. Suffice it to say that this is currently my book of choice for working with Grails these days. Glen and Peter have packed an incredible amount of information in to 500 pages, with concise writing, useful examples, and just enough humor to keep it entertaining without losing its utility. For most of 2008, I was recommending Beginning Groovy and Grails: From Novice to Professional (Beginning from Novice to Professional) from Christopher Judd and company. For my money it was *the* book for 2008 for Grails developers. I think given the advances in the past several months, both the new DGG and this new Grails In Action book deserve to share the title of "Best Grails Book". You can't go wrong with either book. As an aside, I'd also recommend Groovy and Grails Recipes from Bashar Abdul-Jawad if you're looking for a companion piece to Grails In Action. It provides a 'recipe' approach to quickly finding the code snippets you need to solve a particular problem.
8 of 8 people found the following review helpful:
5.0 out of 5 stars
An Excellent Book!,
This review is from: Grails in Action (Paperback)
I've written this review on my blog, reproducing it here:
------- The book is organized into four parts: * Introduction: The very first chapter is aptly titled as `Grails In a Hurry'. If you are a complete beginner to Grails you will be blown away with the productivity and the powerful feature set of Grails on display. Many concepts explained in detail in the later chapters are summarized with a simple example. Second chapter goes over Groovy basics, which is adequate. * Fundamentals: I think taking up a non-trivial example to explain the concepts of a framework is nice. A Twitter-like application is built during the course of this part of the book. This part explains about using GORM (Grails Object Relational Mapping Library), techniques for using Constraints for validation, power of Grails scaffolding, usage of dynamic queries, controlling application flow and the usage of services, introduction to GSPs and the discussion about views and layouts (along with AJAX stuff). * Building more features into your applications: How well different levels of testing (unit, integration, functional) are integrated into the framework is discussed. This part then continues with the basics of plugins and their usage. One of my favorite chapters in this book follows next, workflow with Grails Webflow. Security is discussed in some detail, but the chapter that follows really stands out (especially for a huge REST fan like me) -- explains how to design and implement a RESTful API showcasing Grails support for this architectural pattern. * What you need to know for real work: The last part of the book explains about -- messaging and scheduling, some advanced GORM concepts, how to use Spring and transactions with Grails, and about plugin development. The chapter on advanced GORM concepts is well written; folks who intend to use Grails for enterprise-level applications will certainly benefit from this chapter. This is my first formal reading of a Grails book, but have some decent exposure to the concepts of Grails (from the available documentation, and by the presentations that I attended in the past). So for me, introductory chapters and some of the fundamentals are well-needed refreshers, but the last two parts really stand out. Some points from my notes: * For integration tests, Grails bootstrap the database and wires up all components just as it would for a running web app. * Domain class relationships (1:1, 1:M, M:N) are explained quite well from the Grails point of view -- belongsTo variations, hasMany and GORM magic of automatically adding new methods to account for the defined relationships. * Groovy querying with dynamic finders: Dynamic finders take advantage of funky Groovy metaclass magic to intercept all method calls on a domain object; leverages Groovy's methodMissing feature. * Use flash scope for passing messages to the user when a redirect is involved. * Extensive discussion on the Grails form taglibs, and on creating your own tags. * Mocking is built-in the framework for productive unit testing. * Webflow introduces a new scope: flow scope. Items put in flow scope live for the life of the flow. Favor flow scope over session scope -- Webflow will cleanup the storage for you and give you more efficient server memory. * The chapter on implementing the REST architectural pattern is a must read; Grails supports the pattern out-of-the-box. * Grails uses OSCache as its default cache library (for Hibernate's second-level cache). The reason suggested was that it plays well with Grails developer restarts, something I would like to understand further in reference to Ehcache. But the authors actually used Ehcache in the book suggesting that it is a better library (I agree!). * So easy to declare caching at the domain level: static mapping = { cache: "read-write" } * Discussion on integrating with legacy databases is interesting, but would like to see some case studies to understand the real pain involved. * Transactional services are implemented using Spring's AOP mechanism (Spring's TransactionProxyFactoryBean). * Integration tests run inside a transaction by default, which is then rolled back after each test finishes. This ensures that data changes don't affect other tests, but it means you can't check whether transactions are rolled back or not. If you want to test transactional behavior then you need to add a static transactional property to your test. Conclusion ---------- The book is very well organized and the topics chosen are well thought of. An easy conversational tone is used through out the book. In my opinion, this book succeeds in building a sustained interest about the framework. It is also an excellent reference book on the topic. Strongly recommend the book for all Grails enthusiasts.
6 of 6 people found the following review helpful:
5.0 out of 5 stars
The concise definitive guide to Grails,
By Jacek Laskowski (Warszawa, Poland) - See all my reviews
This review is from: Grails in Action (Paperback)
I was very pleased when I received a copy of the "Grails in Action" book by Glen Smith and Peter Ledbrook from Manning. I heard that it was really a good book and it didn't take long to prove so. It's my fourth book about Grails after "Beginning Groovy and Grails: From Novice to Professional", "The Definitive Guide to Grails, 2nd Ed." and "Grails 1.1 Web Application Development", so I didn't expect much new. It was meant to be a time well spent with Grails which I'd thought I'd already knew. I couldn't have been mistaken more.
I started reading the book right after having finished "Grails 1.1 Web Application Development" from Packt and if I had to suggest any reading order it'd be exactly as I followed with a small exception of "The Definitive Guide to Grails, 2nd Ed." being before the last one, i.e. "Beginning Groovy and Grails: From Novice to Professional", "Grails 1.1 Web Application Development", "The Definitive Guide to Grails, 2nd Ed." and "Grails in Action" for letting your Grails knowledge settle down a little. If you don't fancy reading books you can even skip the first two and rest assured you will get much if not all about Grails. They're written by people who not only participate actively in Grails development itself, but even know how to write about it with much fun. Glen and Peter are active Grails developers. They write about themselves "we're practitioners, not theorists" (page 66) so it shouldn't come as a surprise that their book is all about what every Grails practitioner would anticipate and appreciate - what Grails is, how one should approach Web 2.0 projects with it under his/her belt and how to extend its capabilities while developing "a simple microblogging application in the style of Twitter". There're a lot of pages how Grails works behind the scenes without more ado. Every piece of Grails is laid out and discussed with enough details to make anyone a Grails pro. Every now and then, they point out an interesting piece that can only please readers by giving them what one must otherwise have dug in the Grails sources. It's succinct and to the point. It kept me reading for almost a week and each and every chapter gave me more and more reasons to develop applications in Grails only (it scares me a lot too, to be honest). Not only do the authors mean to present all the Grails features, but they do it with a great sense of humour. One of the most valueable parts of the book are the tests to show how exactly a given feature works. Hate it or love it, but the authors drew enough attention so they're not forgotten as a good practice in our development endeavors. There're lots of unit, integration and even integration tests. I must also admit that some parts of the book I didn't like much. I'm not really sure if it was because I was simply swamped with the intricacies of Grails or the pace which I considered too fast in some parts of the book or yet it was something else not necessarily Grails-wise. Even though there were pages I didn't like I couldn't resist reading the book further. "Grails in Action" is made up of 4 parts. The very first one is to introduce you to Grails as a web framework developing a simple web application with scaffolding and other basic stuff accompanied by the chapter about Groovy, the Grails language. It could seem it is not worth its time, but I strongly recommend reading it. It is not just an introductory material for newbies, but comprehensive introduction to Grails basic features and Groovy. Part 2 covers core Grails features like domain classes, controllers, views, taglibs (with iteration tags), command objects and services whereas Part 3 uses plenty of plugins for real Web 2.0 application development. Part 4 is not meant for faint-hearted and describes the Grails foundation - Hibernate and Spring Framework - focusing on their use by Grails. The chapters begin with a very short and concise introduction to the features at hand, say 2-3 pages, and out of the sudden you're engaged in a real Grails development. 15 or 20 pages after and you're out with a couple of guidelines to wrap things up, ready to roll your sleeves up and dive into projects hoping Grails will make them finished faster. Even after "The Definitive Guide to Grails, 2nd Ed.", you can find a lot about Grails and it's hardly possible not to take some additional notes. I'm used to take some and believe me or not, that book made me stunned for quite a while very often. I thought no other book could've beat "The Definitive Guide to Grails, 2nd Ed." by Graeme Rocher and Jeff Brown, which is truly the definitive guide to Grails, but it was just "Grails in Action" which I read with my mouth opened experiencing the beloved "Aha!" moments quite often. It is now my book number one about Grails 1.1. With the recent changes in Grails 1.2 I hope it's not the last book by Glen and Peter.
4 of 4 people found the following review helpful:
2.0 out of 5 stars
Not recommended,
By
Amazon Verified Purchase(What's this?)
This review is from: Grails in Action (Paperback)
This book starts out with a clean, easy example. But by the time one gets into the thick of things, he/she will quickly come across a lot of minor errors, but more importantly, large gaping omissions. The source code is available for download, but without code explanations in the book, it's extremely difficult to follow. I would not recommend this book to anyone trying to learn Grails from scratch.
4 of 4 people found the following review helpful:
5.0 out of 5 stars
Well written and thorough and up-to-date,
By
This review is from: Grails in Action (Paperback)
I have had issues with other Grails books being out of date (not this book). One book I was reading had been written for Grails 0.5 or so, and I spent about 3 weeks with it ... before giving up (things have just changed enough in Grails that I could not get their examples to work).
I did not run into that issue with this book (this was the 3rd book I tried following, the 3rd time was the charm). The downloadable associated code was written for Grails 1.1.0 (I think they should update it to 1.1.1, but it did not cause me significant problems). The writing style is refreshing, not really boring "computer book" prose ... but more of a story telling style, yet not needlessly wordy. This is the type of writing that I would aspire to if I were writing a technical book. The thing that stood out to me was the depth and breadth of the coverage. The authors take you on the standard Grails journey of using Controllers, Views and Domains and GORM, and Unit and Integration testing with (with JUnit extensions built into Grails), and functional testing with the HtmlUnit plugin. They then take you on a journey through a large number of the available plugins, which make Grails development very productive. This includes coverage of the Spring Security plugin (acegi), scheduling with Quartz, messaging with ActiveMQ, a chart drawing plugin from Google. They also take you through implementing a REST api. They finally take you through the process of developing your own Plugin. So, as I said ... the breadth of material is excellent, and the details given to allow you to use that breadth of information is also top-notch. One minor issue I have, relates to a strength of the book as well. They include source code and then a commentary on the source code. They don't go into nauseating Deitel-like description of "here we add 1 to the variable", but there are some comments that would probably have been better left out.
3 of 3 people found the following review helpful:
3.0 out of 5 stars
a good introduction to Grails, but not for front-end devs,
By
Amazon Verified Purchase(What's this?)
This review is from: Grails in Action (Paperback)
Not to be too much of a self-apologist, but let me preface this review by indicating that my frustration (and hence my lower rating) comes largely from gaps in my own knowledge. But as a result of those gaps, I wasn't able to reap this book's full benefits. So first, what was my impression:
Grails in Action is a fast-paced overview of the Grails platform, with an even quicker overview of the Java-based Groovy language that powers it, and some at-a-glance discussions of some other underlying frameworks and technologies (e.g., Spring, Hibernate, SiteMesh). The book's approach is to take you through the platform in a learn-by-doing approach, walking you through the major language features by building an application in Grails that takes advantage of all (or at least most of) its major features. By building the application alongside the authors' text, you get yourself familiar with those features, their syntax, and the philosophy behind it all. Sounds great; but, a brief segue on why I didn't reap the full benefits: My work is mostly on the front-end, and over the past couple years I've been writing object-oriented JavaScript almost exclusively. But as Grails has been getting introduced into the mix for a lot of new projects, it was time to dive in. And despite my excitement about making the transition into a more full-stack role, my day-to-day would still be mostly on the front-end. When Grails got onto my radar, I knew right away that most of the work I would do was going to be in the controllers, views, and layouts. So that's what I wanted to learn about; I wanted the best possible introduction to Grails for front-end engineers. So why the disappointment? Grails in Action wasn't really written for front-end developers. I suppose I could have figured this out if I'd taken a look at the pedigrees of either of the authors--there's a lot of Groovy and Java there. But that colors the approach, and when they say "previous experience with Java web development is an advantage"--they mean it. Not knowing Java--and/or not doing much work on the band end--will slow down your understanding. With that out of the way, what were the good and the bad? THE GOOD: (1) I agree that the "learn by doing" approach is the best way to go. Nothing helps it "stick" quite like getting your hands dirty. That said, this particular learn-by-doing was a strange mix of hand-holding (e.g., "Right, OK that was obvious.") followed by cavalier glossings-over of other aspects (e.g., "Wait--what?--where did that come from?"). (2) Part 1 ("Introducing Grails") and Part 2 ("Core Grails") are fantastic overviews of the core "90% of your time" features in the Grails platforms. There are some outstanding and very clear explanations of those features, the philosophies that guided the implementations of those features, and how best to apply them in a given context. By the end of Chapter 6, you'll be in a decent position to start banging away on your own apps. (3) The chapters on build systems, writing your own Grails scripts, and plugin development are very informative and show the kind of real power that lives under the Grails covers. THE BAD: And/or, the critiques both big and small, and a few other things that couldn't be helped: (1) The Grails community is moving fast, and though I would not call the book "out of date", there were some quirky differences between Grails 1.1 (the current version when they wrote it) and 1.3.5 (the version I had installed during my reading). One example that came up during the first chapter: their exercise on pages 19-20 said to type "new Quote" when what was really needed was the namespaced version ("new qotd.Quote"). (2) As I already mentioned, the emphasis on the book is much more about what's going on in the back end and so front-end developers (like myself) may find themselves a bit lost or otherwise not getting what they came for. The authors write "some experience with web development (in particular CSS, HTML, and JavaScript) is assumed"--but I felt like you could get by without really having much more than a cursory knowledge of these. (JavaScript and CSS really didn't come up in any substantive at all.) (3) There's an awful lot of time given to writing tests and testing. OK, I get it--testing is important and can help you save yourself from yourself. But there were quite a few features of the language that got not-as-much (e.g., "At what point is UrlMappings.groovy parsed? processed? How does that work?") or else not-at-all (e.g., "What's supposed to go in that 'src' directory?") coverage that would have been nice to see instead of that whole chapter on testing. (4) Plugins, plugins, plugins... Again: "OK, I get it..." As a platform, Grails is all about plugins--it's a conglomeration of plugins to start with, and it has a vibrant community of plugin writers. And that is marvelous. But once plugins are introduced (in (surprise!) the chapter on tests and testing), every chapter after that includes a line that reads "grails install-plugin name-of-plugin". Perhaps that is (shall we say) idiomatic Grails development, and perhaps the implied take-away is "install the plugin and examine its source code", but that time might have been better spent discussing the problem and the "how" of the solution instead of just dropping one in. TO CONCLUDE: I would stand by Grails in Action as an excellent primer on the major features of Grails, and its hands-on approach should help you get comfortable with the key features quickly. But if you're a front-end developer looking to get started with Grails, this probably is not the best introduction. It seems to skip over some aspects of the platform or else give only cursory explanations, but then it spends a lot of time talking about and working with domain classes and the technologies behind them. Again, this is probably fine if you're already a seasoned Java or Groovy programmer on the back-end, or already fancy yourself an adept full-stack developer--but if you've spent most of your time in the browser, you may find it tough to wade through some of what's in here. For my money, I'm still looking for that good introductory book on Grails. Grails in Action was worth the read, but I think I'll need to give it a second pass after I've found my feet.
1 of 1 people found the following review helpful:
5.0 out of 5 stars
Great programming book,
By
This review is from: Grails in Action (Paperback)
I'm a programming languages instructor by trade, and so when I read a book, I look at it not only for the purposes of my learning, but for the purposes of student learning. This is a great book. Perhaps the book is a bit targetted towards folks with >10 years of programming experience. Perhaps the book wouldn't be as clear if you didn't have experience with Rails, Hibernate, Spring, Tiles, REST, and hadn't been complaining about many of Java's limiting features for 8+ years. However, if you've got a background in modern Java and modern java frameworks, and you've built a little bit in rails, it's a great book overall.
1.0 out of 5 stars
Dont buy it,
By
Amazon Verified Purchase(What's this?)
This review is from: Grails in Action (Paperback)
I usually read technical books, about programming, specifications and so on. This is the kind of lecture that I expect to have massive content and full explanation on details about how the thing works. I really don't care about source code included in the book, as some people like to copy and paste the code and check if it works, I think the source code would be only to illustrate the content anyway there are some people that had problems with the code.The problem with this book is that is lacks in the main goal, to give content and instruction about the subject. It is more superficial than a blog. Its like somebody writing comments here, and so compile a lot of comments making a book. Every chapter starts talking about advantages of using grails and using the chapter content, say that it is <straightforward> (every time repeat this word), and so on. Say what do you think when you're going to use this subject, how it will revolution everything and so on. So it gives some paragraphs of content. Ends the chapter saying the advantages, saying that it is <straightforward> all again for many paragraphs, and repeat that is a big advantage, finishes talking about next chapter, what will be repeated in the next chapter start. The content of 10 pages could be taught in 1 page easyly, but they cant SELL a book with 30 pages for this high price. It doesn't teach about grails internal structure, as expected from a book. If this is a book to starters.. it makes the starters to keep being starters... good book (even to starters) cover the details about how the thing works. Dont buy it.
5.0 out of 5 stars
what is this,
Amazon Verified Purchase(What's this?)
This review is from: Grails in Action (Paperback)
very excellent book! I love it. A must see for people who interested in grails, and good reference for Java/J2EE developer too
|
|
Most Helpful First | Newest First
|
|
Grails in Action by Glen Smith (Paperback - June 28, 2009)
Used & New from: $10.26
| ||