Object Oriented Design

Download e-book for iPad: Groovy for Domain-specific Languages - Second Edition by Fergal Dearle

By Fergal Dearle

ISBN-10: 1849695407

ISBN-13: 9781849695404

Extend and increase your Java functions with domain-specific scripting in Groovy

About This Book

  • Build domain-specific mini languages in Groovy that combine seamlessly together with your Java apps with this hands-on guide
  • Increase stakeholder participation within the improvement strategy with domain-specific scripting in Groovy
  • Get up to the mark with the latest good points in Groovy utilizing this moment version and combine Groovy-based DSLs into your latest Java applications.

Who This ebook Is For

This publication is for Java software program builders who've an curiosity in development area scripting into their Java functions. No wisdom of Groovy is needed, even though it might be precious. This ebook doesn't train Groovy, yet speedy introduces the elemental rules of Groovy. An skilled Java developer shouldn't have any issues of those and flow quick directly to the extra concerned features of making DSLs with Groovy. No event of making a DSL is required.

What you are going to Learn

  • Familiarize your self with Groovy scripting and paintings with Groovy closures
  • Use the meta-programming good points in Groovy to construct mini languages
  • Employ Groovy mark-up and developers to simplify program development
  • Familiarize your self with Groovy mark-up and construct your personal Groovy builders
  • Build potent DSLs with operator overloading, command chains, developers, and a number of different Groovy language features
  • Integrate Groovy together with your Java and JVM dependent applications

In Detail

The instances whilst constructing at the JVM intended you have been a Java programmer have lengthy handed. The JVM is now firmly proven as a polyglot improvement surroundings with many tasks determining replacement improvement languages to Java equivalent to Groovy, Scala, Clojure, and JRuby. during this pantheon of improvement languages, Groovy stands proud for its first-class DSL allowing good points which permits it to be manipulated to supply mini languages which are adapted to a project’s needs.

A complete educational on designing and constructing mini Groovy established area particular Languages, this e-book will consultant you thru the improvement of numerous mini DSLs to help you achieve the entire abilities had to increase your personal Groovy dependent DSLs with self assurance and ease.

Starting with the naked fundamentals, this e-book will concentrate on how Groovy can be utilized to build area particular mini languages, and may struggle through the extra advanced meta-programming good points of Groovy, together with utilizing the summary Syntax Tree (AST). useful examples are used all through this booklet to de-mystify those doubtless advanced language positive aspects and to teach how they are often used to create uncomplicated and chic DSLs. jam-packed with examples, together with numerous totally labored DSLs, this booklet will function a springboard for constructing your personal DSLs.

Style and approach

This ebook is a hands-on advisor that may stroll you thru examples for construction DSLs with Groovy instead of simply conversing approximately "metaprogramming with Groovy". The examples during this booklet were designed that can assist you achieve a superb operating wisdom of the options concerned and observe those to generating your personal Groovy dependent DSLs.

Show description

Read or Download Groovy for Domain-specific Languages - Second Edition PDF

Best object oriented design books

Read e-book online Eclipse 4 Plug-in Development by Example Beginner's Guide PDF

In DetailAs a hugely extensible platform, Eclipse is utilized by everybody from self sufficient software program builders to NASA. Key to this can be Eclipse’s plug-in environment, which permits purposes to be built in a modular structure and prolonged via its use of plug-ins and lines. "Eclipse four Plug-in improvement by means of instance Beginner's consultant" takes the reader during the complete trip of plug-in improvement, beginning with an advent to Eclipse plug-ins, persevered via packaging and culminating in computerized trying out and deployment.

Read e-book online R Object-oriented Programming PDF

A realistic advisor that will help you research and comprehend the programming concepts essential to make the most the total strength of RAbout This BookLearn and comprehend the programming recommendations essential to remedy particular difficulties and accelerate improvement tactics for statistical versions and applicationsExplore the basics of creating gadgets and the way they software person facets of bigger information designsStep-by-step consultant to appreciate how OOP could be utilized to program and information types inside RWho This e-book Is ForThis e-book is designed for individuals with a few event in easy programming practices.

Java I/O, NIO and NIO.2 by Jeff Friesen PDF

Java I/O, NIO, and NIO. 2 is a power-packed booklet that hurries up your mastery of Java's quite a few I/O APIs. during this e-book, you are going to find out about vintage I/O APIs (File, RandomAccessFile, the move sessions and similar varieties, and the reader/writer classes). subsequent, you will know about NIO's buffer, channel, selector, general expression, charset, and formatter APIs.

New PDF release: Android TV Apps Development: Building for Media and Games

This one-of-a-kind brief e-book walks you thru growing brilliant leisure apps for one of many most up-to-date Android systems. Android television Apps improvement: construction Media and video games will demystify many of the most modern APIs and current the instruments invaluable for construction purposes that run on Android television.

Extra info for Groovy for Domain-specific Languages - Second Edition

Example text

Download PDF sample

Groovy for Domain-specific Languages - Second Edition by Fergal Dearle


by Robert
4.2

Rated 4.27 of 5 – based on 19 votes