Groovy for Domain-specific Languages - Second Edition

Nonfiction, Computers, Programming, Object Oriented Programming, Internet, Web Development, Java
Cover of the book Groovy for Domain-specific Languages - Second Edition by Fergal Dearle, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Fergal Dearle ISBN: 9781849695411
Publisher: Packt Publishing Publication: September 28, 2015
Imprint: Packt Publishing Language: English
Author: Fergal Dearle
ISBN: 9781849695411
Publisher: Packt Publishing
Publication: September 28, 2015
Imprint: Packt Publishing
Language: English

Extend and enhance your Java applications with domain-specific scripting in Groovy

About This Book

  • Build domain-specific mini languages in Groovy that integrate seamlessly with your Java apps with this hands-on guide
  • Increase stakeholder participation in the development process with domain-specific scripting in Groovy
  • Get up to speed with the newest features in Groovy using this second edition and integrate Groovy-based DSLs into your existing Java applications.

Who This Book Is For

This book is for Java software developers who have an interest in building domain scripting into their Java applications. No knowledge of Groovy is required, although it will be helpful. This book does not teach Groovy, but quickly introduces the basic ideas of Groovy. An experienced Java developer should have no problems with these and move quickly on to the more involved aspects of creating DSLs with Groovy. No experience of creating a DSL is required.

What You Will Learn

  • Familiarize yourself with Groovy scripting and work with Groovy closures
  • Use the meta-programming features in Groovy to build mini languages
  • Employ Groovy mark-up and builders to simplify application development
  • Familiarize yourself with Groovy mark-up and build your own Groovy builders
  • Build effective DSLs with operator overloading, command chains, builders, and a host of other Groovy language features
  • Integrate Groovy with your Java and JVM based applications

In Detail

The times when developing on the JVM meant you were a Java programmer have long passed. The JVM is now firmly established as a polyglot development environment with many projects opting for alternative development languages to Java such as Groovy, Scala, Clojure, and JRuby. In this pantheon of development languages, Groovy stands out for its excellent DSL enabling features which allows it to be manipulated to produce mini languages that are tailored to a project’s needs.

A comprehensive tutorial on designing and developing mini Groovy based Domain Specific Languages, this book will guide you through the development of several mini DSLs that will help you gain all the skills needed to develop your own Groovy based DSLs with confidence and ease.

Starting with the bare basics, this book will focus on how Groovy can be used to construct domain specific mini languages, and will go through the more complex meta-programming features of Groovy, including using the Abstract Syntax Tree (AST). Practical examples are used throughout this book to de-mystify these seemingly complex language features and to show how they can be used to create simple and elegant DSLs. Packed with examples, including several fully worked DSLs, this book will serve as a springboard for developing your own DSLs.

Style and approach

This book is a hands-on guide that will walk you through examples for building DSLs with Groovy rather than just talking about "metaprogramming with Groovy". The examples in this book have been designed to help you gain a good working knowledge of the techniques involved and apply these to producing your own Groovy based DSLs.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Extend and enhance your Java applications with domain-specific scripting in Groovy

About This Book

Who This Book Is For

This book is for Java software developers who have an interest in building domain scripting into their Java applications. No knowledge of Groovy is required, although it will be helpful. This book does not teach Groovy, but quickly introduces the basic ideas of Groovy. An experienced Java developer should have no problems with these and move quickly on to the more involved aspects of creating DSLs with Groovy. No experience of creating a DSL is required.

What You Will Learn

In Detail

The times when developing on the JVM meant you were a Java programmer have long passed. The JVM is now firmly established as a polyglot development environment with many projects opting for alternative development languages to Java such as Groovy, Scala, Clojure, and JRuby. In this pantheon of development languages, Groovy stands out for its excellent DSL enabling features which allows it to be manipulated to produce mini languages that are tailored to a project’s needs.

A comprehensive tutorial on designing and developing mini Groovy based Domain Specific Languages, this book will guide you through the development of several mini DSLs that will help you gain all the skills needed to develop your own Groovy based DSLs with confidence and ease.

Starting with the bare basics, this book will focus on how Groovy can be used to construct domain specific mini languages, and will go through the more complex meta-programming features of Groovy, including using the Abstract Syntax Tree (AST). Practical examples are used throughout this book to de-mystify these seemingly complex language features and to show how they can be used to create simple and elegant DSLs. Packed with examples, including several fully worked DSLs, this book will serve as a springboard for developing your own DSLs.

Style and approach

This book is a hands-on guide that will walk you through examples for building DSLs with Groovy rather than just talking about "metaprogramming with Groovy". The examples in this book have been designed to help you gain a good working knowledge of the techniques involved and apply these to producing your own Groovy based DSLs.

More books from Packt Publishing

Cover of the book Mastering Spring Application Development by Fergal Dearle
Cover of the book Complete Unity 2018 Game Development by Fergal Dearle
Cover of the book Building Websites with Mambo by Fergal Dearle
Cover of the book Building E-Commerce Solutions with WooCommerce by Fergal Dearle
Cover of the book BPEL Cookbook: Best Practices for SOA-based integration and composite applications development by Fergal Dearle
Cover of the book HP Vertica Essentials by Fergal Dearle
Cover of the book Learning Ionic by Fergal Dearle
Cover of the book Microsoft System Center Data Protection Manager 2012 SP1 by Fergal Dearle
Cover of the book Learning iOS Forensics - Second Edition by Fergal Dearle
Cover of the book Easy Web Development with WaveMaker by Fergal Dearle
Cover of the book Pentaho Data Integration Beginner's Guide, Second Edition by Fergal Dearle
Cover of the book Gradle Effective Implementations Guide - Second Edition by Fergal Dearle
Cover of the book Unreal Engine Game Development Blueprints by Fergal Dearle
Cover of the book PHPUnit Essentials by Fergal Dearle
Cover of the book Hands-On Bug Hunting for Penetration Testers by Fergal Dearle
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy