Cargando…

Groovy for domain-specific languages : extend and enhance your Java applications with domain-specific languages in Groovy /

Annotation

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Dearle, Fergal
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., ©2010.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 a 4500
001 EBSCO_ocn696003647
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 110110s2010 enka o 001 0 eng d
040 |a N$T  |b eng  |e pn  |c N$T  |d IDEBK  |d UMI  |d CEF  |d E7B  |d OCLCQ  |d YDXCP  |d OCLCQ  |d DEBSZ  |d OCLCQ  |d C6I  |d OCLCQ  |d OCLCF  |d OCLCQ  |d JBG  |d AGLDB  |d OCLCQ  |d U3W  |d VTS  |d COCUF  |d NLE  |d INT  |d VT2  |d UKMGB  |d OCLCQ  |d WYU  |d OCLCQ  |d STF  |d UAB  |d M8D  |d UKAHL  |d HS0  |d OCLCQ  |d AJS  |d OCLCQ  |d OCLCO  |d OCLCQ  |d OCLCO 
016 7 |a 018011783  |2 Uk 
019 |a 667105318  |a 696639218 
020 |a 9781847196910  |q (electronic bk.) 
020 |a 1847196918  |q (electronic bk.) 
020 |z 9781847196903 
020 |z 184719690X 
029 1 |a AU@  |b 000051368473 
029 1 |a DEBBG  |b BV043146753 
029 1 |a DEBSZ  |b 355449064 
029 1 |a DEBSZ  |b 372804438 
029 1 |a DEBSZ  |b 421657782 
029 1 |a GBVCP  |b 785354654 
029 1 |a HEBIS  |b 291519040 
029 1 |a NZ1  |b 13870051 
029 1 |a UKMGB  |b 018011783 
035 |a (OCoLC)696003647  |z (OCoLC)667105318  |z (OCoLC)696639218 
037 |a CL0500000081  |b Safari Books Online 
050 4 |a QA76.73.G23  |b D43 2010eb 
072 7 |a REF  |x 018000  |2 bisacsh 
082 0 4 |a 001.6424  |2 22 
049 |a UAMI 
100 1 |a Dearle, Fergal. 
245 1 0 |a Groovy for domain-specific languages :  |b extend and enhance your Java applications with domain-specific languages in Groovy /  |c Fergal Dearle. 
260 |a Birmingham, UK :  |b Packt Pub.,  |c ©2010. 
300 |a 1 online resource (vi, 295 pages) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
588 0 |a Print version record. 
520 8 |a Annotation  |b You may already be aware that the Java virtual machine runs on everything from the largest mainframe to the smallest microchip and supports almost every conceivable application. What you may not realize is that to develop software in some of these scenarios requires a targeted, single purpose language, a Domain Specific Language. The popular scripting language Groovy can be used to create a Domain Specific Language that can run directly on the JVM alongside regular Java code.<br /><br />This comprehensive tutorial will take you through the design and development of Groovy-based Domain Specific Languages. It is a complete guide to the development of several mini-DSLs with a lot of easy-to-understand examples. This book will help you to gain all of the skills needed to develop your own Groovy-based DSLs, as it guides you from the basics through to the more complex meta-programming features of Groovy. The focus is on how the Groovy language can be used to construct domain-specific mini-languages.<br /><br />Practical examples are used throughout to de-mystify the seemingly complex language features and to show how they can be used to create simple and elegant DSLs. The examples include a quick and simple Groovy DSL to interface with Twitter.<br /><br />The book concludes with a chapter focusing on integrating Groovy-based DSLs in such a way that the scripts can be readily incorporated into the readers' own Java applications. The overall goal of this book is to take Java developers through the skills and knowledge they need to start building effective Groovy-based DSLs to integrate into their own applications. 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Introduction to DSL and Groovy; DSL: New name for an old idea; The evolution of programming languages; General-purpose languages; Spreadsheets and 4GLs; Language-oriented programming; Who are DSLs for?; A DSL for process engineers; Stakeholder participation; DSL design and implementation; External versus internal DSL; Operator overloading; Groovy; A natural fit with the JVM; Groovy language features; Static and optional typing; Native support for lists and maps; Closures 
505 8 |a Groovy operator overloadingRegular expression support; Optional syntax; Groovy markup; Summary; Chapter 2: Groovy Quick Start; How to find and install Groovy; Running Groovy; The Groovy script engine-groovy; Shebang scripts; The Groovy shell: groovysh; The Groovy console: groovyConsole; The Groovy compiler: groovyc; Groovy IDE and editor integration; Netbeans; Eclipse; IntelliJ IDEA; Other IDEs and editors; Introducing the Groovy Language; Module structure; Groovy shorthand; Assumed imports; Default visibility, optional semicolon; Optional parentheses and types; Optional return keyword 
505 8 |a AssertionsAutoboxing; Strings; Regular expressions; Methods and closures; Control structures; Groovy truth; Ternary and Elvis operators; Switch statement; Loops; Collections; Ranges; Lists; Maps; Operators; Spread and spread-dot; Null safe dereference; Operator overloading; Summary; Chapter 3: Groovy Closures; What is a closure; Closures and collection methods; Closures as method parameters; Method parameters as DSL; Forwarding parameters; Calling closures; Finding a named closure field; Closure parameters; Parameters and the doCall method; Passing multiple parameters 
505 8 |a Enforcing zero parametersDefault parameter values; Curried parameters; Closure return values; Closure scope; this, owner, and delegate; Summary; Chapter 4: Example DSL: GeeTwitter; Twitter; Working with the Twitter APIs; Using Twitter4J Java APIs; Tweeting; Direct messages; Searching; Following; Groovy improvements; A Groovier way to find friends; Groovy searching; Removing boilerplate; Refactoring; Fleshing out GeeTwitter; Improving search; Adding a command-line interface; Adding built-in methods; Summary; Chapter 5: Power Groovy DSL features; Named parameters; Named parameters in DSLs 
505 8 |a BuildersBuilder design pattern; Using Groovy Builders; MarkupBuilder; Namespaced XML; GroovyMarkup and the builder design pattern; Using program logic with builders; Builders for every occasion; NodeBuilder; SwingBuilder; Griffon: Builders as DSL; Method pointers; Metaprogramming and the Groovy MOP; Reflection; Groovy Reflection shortcuts; Expandos; Categories; Metaclass; Pretended methods (MetaClass.invokeMethod); Understanding this, delegate, and owner; How Builders work; ExpandoMetaClasses; Replacing methods; Adding or overriding static methods; Dynamic method naming 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
650 0 |a Groovy (Computer program language) 
650 0 |a Java (Computer program language) 
650 0 |a Domain-specific programming languages. 
650 6 |a Groovy (Langage de programmation) 
650 6 |a Java (Langage de programmation) 
650 6 |a Langages orientés problème (Informatique) 
650 7 |a REFERENCE  |x Questions & Answers.  |2 bisacsh 
650 7 |a Groovy (Computer program language)  |2 blmlsh 
650 7 |a Java (Computer program language)  |2 blmlsh 
650 7 |a Domain-specific programming languages.  |2 blmlsh 
650 7 |a Domain-specific programming languages  |2 fast 
650 7 |a Groovy (Computer program language)  |2 fast 
650 7 |a Java (Computer program language)  |2 fast 
776 0 8 |i Print version:  |a Dearle, Fergal.  |t Groovy for domain-specific languages.  |d Birmingham, UK : Packt Publishing, 2010  |z 9781847196903  |w (OCoLC)664367318 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=348204  |z Texto completo 
938 |a Askews and Holts Library Services  |b ASKH  |n AH26942854 
938 |a ebrary  |b EBRY  |n ebr10441081 
938 |a EBSCOhost  |b EBSC  |n 348204 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n 262407 
938 |a YBP Library Services  |b YANK  |n 3595420 
994 |a 92  |b IZTAP