Groovy and Grails Recipes: A Problem-solution Approach (Expert"s Voice in Open Source)

Groovy and Grails Recipes is the busy developer"s guide to developing applications in Groovy and Grails. Rather than boring you with theoretical knowledge of yet another language/framework this book delves straight into solving real--life problems in Groovy and Grails using easy--to--understand, well--explained code snippets. Through learning by example, you will be able to pick up on Groovy and Grails quickly and use the book as an essential reference when developing applications. What you"ll learn * Discover elegant and efficient solutions to common programming problems and web development tasks. * Get and reuse practical examples for both Groovy language and Grails framework, using the latest stable versions of each. * Perform a wide range of development tasks that cover all of the web development tiers, from View Layer to Service Layer to Domain Layer. * Access the wide range of available Grails framework plug--ins. * Obtain the recipes to integrate Spring, Hibernate, SiteMesh, and more with the Grails web framework. Who this book is for This book is for Java and web developers who are interested to learn more about Groovy and/or Grails and are looking for real--life, working examples of how to achieve common programming tasks in Groovy and Grails. Table of Contents * Getting Started with Groovy * From Java to Groovy * Groovy Data Types and Control Structures * Object-Oriented Groovy * Closures * Builders * Working with Databases * Testing with Groovy * Miscellaneous Recipes * Getting Started with Grails * The Web Layer * The Data Layer * Scaffolding * Security * Testing * Miscellaneous Recipes