Reviews for Grails: A Quick-Start Guide and Kanban and Scrum
Join the DZone community and get the full member experience.Join For Free
the books i read were dave klein's grails: a quick-start guide and henrik kniberg and mattias skarin's kanban and scrum minibook . below are short reviews of each book.
grails: a quick-start guide
i've developed a few grails applications, so i didn't expect to learn a whole lot from this book, but i was pleasantly surprised. not only did it introduce all the basic concepts in a clear and concise way, it actually made it fun to read. the first chapter does a good job of introducing groovy; showing you how to use closures and the easy-to-use collections api. from there, you dive into learning about the project, which is actually a real-life web application called tekdays.com . then the foundational iteration zero is planned and executed.
in chapter 3, you dive right into creating domain classes and their relationships. all the different mapping types are covered: one-to-one, one-to-many and the good ol' many-to-many. since this is often a difficult part of an application, it's always nice to see how much grails simplifies it. i liked the ajax section in chapter 7 and especially the part where it showed how to do a taglib to show threaded comments in a forum.
chapter 7 (security) was a little disappointing in that it showed how to hand-roll your own security rather than using the spring security plugin (formerly acegi) or the shiro plugin (formerly jsecurity). i'd especially have liked to see how to do ajax authentication where a token is generated for the client and included as a header in each subsequent request.
other than that, i really enjoyed chapter 10 where i learned how to implement search using dynamic finders, hibernate's criteria api and the searchable plugin (which gets its awesomeness from compass ). implementing compass in java requires many, many annotations. in grails, it's as simple as adding the following to your domain class.
static searchable = true
i truly enjoyed this book, especially with its agile development patterns that used iterations to get things done. grails: a quick-start guide is a code-intensive journey that gets up you to speed on grails quickly and efficiently. it's very much like the framework itself. it eliminates the yak shaving and allows you learn without distractions. kudos to dave klein for creating such an enjoyable and easy-to-read book.
kanban and scrum
in my career, i've used scrum on quite a few projects. of course, it's not the processes that typically make a team successful. rather, it's often the gelling of the team members, as well as respect for coding practices that are proven to create higher quality code - specifically tdd and pair programming. before reading this book, i'd heard a bit about kanban, most of it from marty haught's lean teams: doing more with less presentation.
this book did a great job of showing the differences between the two approaches: how scrum promotes iterations whereas kanban promotes cycle time. the most interesting part of the book is the case study in the 2nd half. this section shows how a team used various techniques to develop a well-oiled development machine. i think the most important thing to note from this section is how the team was willing to change, learn and grow based on their experiences - in a very rapid fashion.
in my current gig, i'm helping a team of developers move from waterfall to agile processes. we're leveraging many aspects of scrum and agile by using a coach, iterations, daily standups, tdd, continuous integration and creating "as built" documentation when we finish developing a feature. the "as built" documentation is something i picked up from working at chordiant and i've found it to be a great way of education developers (and outsiders) how things were done in an iteration.
one thing we've seen in our first few weeks is that iterations don't work for all teams or individuals. a kanban model fits much better for them. having a kanban board allows them to visualize (and control) their workload in a much more efficient manner. we haven't started implementing actual boards on a wall, we're just using spreadsheets for now. however, we do have two agile coaches starting this week so i expect things to improve rapidly.
back to the book. more than anything, i enjoyed reading this book because it made me excited about the changes i'm helping implement and i believe in many of the practices in both scrum and kanban. i enjoy iterations and structured expectations around development, but i can see how kanban would work better for folks in operations and infrastructure. i look forward to implementing the best parts of both worlds and hopefully a similar case study of what worked and what didn't. with any luck, we'll be able to learn, evolve and produce at a much higher level than previous waterfall practices achieved.
Opinions expressed by DZone contributors are their own.