0%

Book Description

Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language. This book covers Groovy fundamentals, such as installing Groovy, using Groovy tools, and working with the Groovy Development Kit (GDK). You'll also learn more advanced aspects of Groovy, such as using Groovy design patterns, writing DSLs in Groovy, and taking advantage of Groovy's functional programming features.

There is more to Groovy than the core language, so Learning Groovy covers the extended Groovy ecosystem. You'll see how to harness Gradle (Groovy's build system), Grails (Groovy's web application framework), Spock (Groovy's testing framework), and Ratpack (Groovy's reactive web library).

What You'll Learn

  • Grasp Groovy fundamentals, including the GDK or Groovy Development Kit

  • Master advanced Groovy, such as writing Groovy DSLs

  • Discover functional programming in Groovy

  • Work with GPars, the built-in concurrency library

  • Use Gradle, the build system

  • Master Grails, the web application framework

  • Work with Spock, the testing framework

  • Harness Ratpack, the reactive web library

Who This Book Is For

Although this book is intended for those with a Java background, anyone with basic programming skills could benefit from it. This book is a data-filled, yet easy-to-digest tour of the Groovy language and ecosystem.

Table of Contents

  1. Cover
  2. Frontmatter
  3. 1. Getting Groovy
    1. 1. Software to Install
    2. 2. Groovy 101
    3. 3. Tools
    4. 4. GDK
    5. 5. Coming from Java
  4. 2. Advanced Groovy
    1. Part Frontmatter
    2. 6. Groovy Design Patterns
    3. 7. DSLs
    4. 8. Traits
    5. 9. Functional Programming
    6. 10. Groovy GPars
  5. 3. The Groovy Ecosystem
    1. Part Frontmatter
    2. 11. Groovy Awesomeness
    3. 12. Gradle
    4. 13. Grails
    5. 14. Spock
    6. 15. Ratpack
  6. Backmatter
18.118.12.232