Learning Groovy 3: Java-Based Dynamic Scripting

Davis, Adam L.

  • 出版商: Apress
  • 出版日期: 2019-07-26
  • 售價: $1,575
  • 貴賓價: 9.5$1,496
  • 語言: 英文
  • 頁數: 159
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484250575
  • ISBN-13: 9781484250570
  • 相關分類: JVM 語言
  • 立即出貨 (庫存=1)

商品描述

Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language, including what's new in Groovy version 3.0. 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.

Also, Learning Groovy 3 has been updated to Groovy 3.0 to include the new Parrot parser which was extended to support additional syntax options and language features. It also includes coverage of Groovydoc, which allows you to embed Groovydoc comments in various ways. And, this book covers how Groovy supports Java type annotations and more.

There is more to Groovy than the core language, so Learning Groovy 3, Second Edition 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 Will Learn

 

  • Grasp Groovy fundamentals, including the GDK
  • 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

Those with a Java background, though anyone with basic programming skills can benefit from it. This book is a data-filled, yet easy-to-digest tour of the Groovy language and ecosystem.

 

商品描述(中文翻譯)

開始建立強大的應用程式,充分利用Groovy語言的動態腳本功能,包括Groovy 3.0版本的新功能。本書涵蓋了Groovy的基礎知識,例如安裝Groovy、使用Groovy工具以及使用Groovy開發套件(GDK)。您還將學習更高級的Groovy技巧,例如使用Groovy設計模式、在Groovy中編寫DSL以及利用Groovy的函數式編程功能。

此外,《學習Groovy 3》已更新至Groovy 3.0版本,包括了新的Parrot解析器,該解析器擴展了對其他語法選項和語言功能的支持。本書還介紹了Groovydoc,它允許您以各種方式嵌入Groovydoc註釋。此外,本書還介紹了Groovy如何支持Java類型註釋等內容。

Groovy不僅僅是一門核心語言,所以《學習Groovy 3,第二版》還涵蓋了擴展的Groovy生態系統。您將了解如何利用Gradle(Groovy的構建系統)、Grails(Groovy的Web應用程式框架)、Spock(Groovy的測試框架)和Ratpack(Groovy的反應式Web庫)。

您將學到什麼

- 掌握Groovy的基礎知識,包括GDK
- 掌握高級Groovy技巧,例如編寫Groovy DSL
- 探索Groovy中的函數式編程
- 使用內置的並發庫GPars
- 使用構建系統Gradle
- 掌握Web應用程式框架Grails
- 使用測試框架Spock
- 利用反應式Web庫Ratpack

本書適合對象

具有Java背景的人,但任何具備基本編程技能的人都可以從中受益。本書是一本充滿資料但易於理解的Groovy語言和生態系統導覽。

作者簡介

Adam L. Davis makes software. He's spent many years developing in Java (since Java 1.2) and has enjoyed using Spring and Hibernate. Since 2006 he's been using Groovy and Grails in addition to Java to create SaaS web applications that help track finances for large institutions (among other things). Adam has a masters and a bachelors degree in computer science from Georgia Tech.

作者簡介(中文翻譯)

Adam L. Davis 是一位軟體開發者。他在 Java 開發方面有多年的經驗(從 Java 1.2 開始),並且喜歡使用 Spring 和 Hibernate。自 2006 年以來,他除了使用 Java 外,還使用 Groovy 和 Grails 創建 SaaS 網絡應用程序,用於幫助大型機構追蹤財務(以及其他事情)。Adam 在喬治亞理工學院獲得了計算機科學碩士和學士學位。