Groovy and Grails Recipes

4.11 - 1251 ratings - 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 ayet another language/framework, a this book delves straight into solving realalife problems in Groovy and Grails using easyatoaunderstand, wella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 youa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 pluga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 reala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 RecipesIt is usually recommended that your client live in a separate project from the
service, but for the sake of simplicity I am going to place the client in the same
project as the service. Creating a ... Listing 16-22 shows how to configure a client
in grails-app/conf/spring/ resources.xml. ... Using a Web Service Clientfrom a
Controller class UserController { def authenticationClient def index = { render(
view: aquot;logina). }.

Title

:

Groovy and Grails Recipes

Author

:

Bashar Jawad

Publisher

:

Apress - 2008-12-08

ISBN-13

:

You must register with us as either a Registered User before you can Download this Book. You'll be greeted by a simple sign-up page.

Once you have finished the sign-up process, you will be redirected to your download Book page.