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 more » 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
* Groovy fundamentals, including the GDK or Groovy Development Kit
* Advanced Groovy, such as writing Groovy DSLs
* Functional programming in Groovy
* GPars, the built-in concurrency library
* Gradle, the build system
* Grails, the web application framework
* Spock, the testing framework
* Ratpack, the reactive web library
Who is this book 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. « less
Grails is a full stack framework which aims to greatly simplify the task of building serious web applications for the JVM. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make those in the Java community feel right at home.
Grails' foundation is on solid open more » source technologies such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: Spring provides powerful inversion of control and MVC, Hibernate brings a stable, mature object relational mapping technology with the ability to integrate with legacy systems, and SiteMesh handles flexible layout control and page decoration. « less
Grails is a Java- and Groovy-based web framework that is built for speed. First-time developers are amazed at how quickly you can get a page-centric MVC web site up and running thanks to the scaffolding and convention over configuration that Grails provides. Advanced web developers are often pleasantly more » surprised at how easy it is to leverage their existing Spring and Hibernate experience. "Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, Tropicana, and Taco Bell are all using Grails. Are you ready to get started as well? « less
From Novice to Professional
Web frameworks are playing a major role in the creation of today's most compelling web applications, because they automate many of the tedious tasks, allowing developers to instead focus on providing users with creative and powerful features. Java developers have been particularly fortunate in this area, more » having been able to take advantage of Grails, an open source framework that supercharges productivity when building Java–driven web sites. Grails is based on Groovy, which is a very popular and growing dynamic scripting language for Java developers and was inspired by Python, Ruby, and Smalltalk.
Beginning Groovy and Grails is the first introductory book on the Groovy language and its primary web framework, Grails.
This book gets you started with Groovy and Grails and culminates in the example and possible application of some real–world projects. You follow along with the development of each project, implementing and running each application while learning new features along the way.
WHAT YOU’LL LEARN
* Understand the fundamentals of the open source, dynamic Groovy scripting language and the Grails web framework.
* Capitalize upon Grails’ well–defined framework architecture to build web applications faster than ever before.
* Improve your web application with cutting–edge interface enhancements using Ajax.
* Use Grails’ object–relational mapping solution, GORM, to manage your data store more effectively than ever before.
* Take advantage of Groovy to create reporting services, implement batch processing, and create alternative client interfaces.
* Deploy and upgrade your Grails–driven applications with expertise and ease.
* Discover an alternative client in Groovy as well.
WHO THIS BOOK IS FOR
Java and web developers looking to learn and embrace the power and flexibility offered by the Grails framework and Groovy scripting language. « less