Muutke küpsiste eelistusi

Learning Groovy 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 102 pages, kõrgus x laius: 235x155 mm, kaal: 2058 g, 5 Illustrations, color; XXI, 102 p. 5 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 05-Aug-2016
  • Kirjastus: APress
  • ISBN-10: 1484221168
  • ISBN-13: 9781484221167
Teised raamatud teemal:
  • Pehme köide
  • Hind: 41,04 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 102 pages, kõrgus x laius: 235x155 mm, kaal: 2058 g, 5 Illustrations, color; XXI, 102 p. 5 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 05-Aug-2016
  • Kirjastus: APress
  • ISBN-10: 1484221168
  • ISBN-13: 9781484221167
Teised raamatud teemal:

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 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 Learn 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. 
About the Author xv
About the Technical Reviewer xvii
Acknowledgments xix
About This Book xxi
Part I: Getting Groovy 1(28)
Chapter 1 Software to Install
3(2)
Java/Groovy
3(1)
Trying It Out
4(1)
Others
4(1)
Code on Github
4(1)
Chapter 2 Groovy 101
5(10)
What Is Groovy?
5(1)
Compact Syntax
6(1)
Dynamic def
6(1)
List and Map Definitions
6(1)
Groovy GDK
7(1)
Everything Is an Object
7(1)
Easy Properties
7(1)
GString
8(1)
Closures
8(1)
A Better Switch
9(1)
Meta-Programming
10(1)
Static Type-Checking
10(1)
Elvis Operator
11(1)
Safe Dereference Operator
12(1)
A Brief History
12(2)
Groovy 1.8
12(1)
Groovy 2.0
13(1)
Groovy 2.1
13(1)
Groovy 2.2
13(1)
Groovy 2.3
14(1)
Groovy 2.4
14(1)
Summary
14(1)
Chapter 3 Tools
15(2)
Console
15(1)
Compilation
15(1)
Shell
16(1)
Documentation
16(1)
Chapter 4 GDK
17(6)
Collections
17(1)
Spread
18(1)
GPath
18(1)
IO
18(2)
Files
18(1)
URLs
19(1)
Ranges
20(1)
Utilities
21(2)
ConfigSlurper
21(1)
Expando
21(1)
ObservableList/Map/Set
22(1)
Chapter 5 Coming from Java
23(6)
Default Method Values
23(1)
Equals, Hashcode, and More
23(1)
Regex Pattern Matching
24(1)
Missing Java Syntax
25(1)
Semicolon Optional
25(1)
Where Are Generics?
26(1)
Groovy Numbers
26(1)
Boolean-Resolution
26(1)
Map Syntax
27(1)
Summary
27(2)
Part II: Advanced Groovy 29(30)
Chapter 6 Groovy Design Patterns
31(4)
Strategy Pattern
31(1)
Meta-Programming
32(1)
Meta-Class
32(1)
Categories
32(1)
Missing Methods
33(1)
Delegation
34(1)
Chapter 7 DSLs
35(6)
Delegate
35(1)
Overriding Operators
36(2)
Missing Methods and Properties
38(3)
Chapter 8 Traits
41(4)
Defining Traits
41(1)
Using Traits
41(2)
Summary
43(2)
Chapter 9 Functional Programming
45(10)
Functions and Closures
45(1)
Using Closures
46(1)
Map/Filter/And So On
46(4)
Immutability
50(1)
Groovy Fluent GDK
51(1)
Groovy Curry
52(1)
Method Handles
53(1)
Tail Recursion
53(1)
Summary
54(1)
Chapter 10 Groovy GPars
55(4)
Parallel Map Reduce
55(1)
Actors
56(3)
Part III: The Groovy Ecosystem 59(36)
Chapter 11 Groovy Awesomeness
61(4)
Web and UI Frameworks
61(1)
Grails
61(1)
Griffon
61(1)
vert.x
61(1)
Ratpack
61(1)
Cloud Computing Frameworks
62(1)
Gaelyk
62(1)
Caelyf
62(1)
Build Frameworks
62(1)
Gradle
62(1)
Gant
62(1)
Testing Frameworks/Code Analysis
62(1)
Easyb
62(1)
Spock
63(1)
Codenarc
63(1)
GContracts
63(1)
Concurrency
63(1)
GPars
63(1)
RxGroovy
63(1)
Others
63(2)
gym
64(1)
lazybones
64(1)
Chapter 12 Gradle
65(6)
Projects and Tasks
65(1)
Plugins
66(1)
Configuring a Task
66(1)
Extra Configuration
67(1)
Maven Dependencies
67(1)
Gradle Properties
68(1)
Multiproject Builds
68(1)
File Operations
69(1)
Exploring
70(1)
Completely Groovy
70(1)
Summary
70(1)
Chapter 13 Grails
71(8)
Quick Overview of Grails
71(2)
Plugins
73(1)
REST in Grails
73(1)
Short History of Grails
74(3)
Grails 2.0
74(1)
Grails 2.1
75(1)
Grails 2.2
75(1)
Grails 2.3
76(1)
Grails 2.4
76(1)
Grails 3.1.x
76(1)
Testing
77(1)
Cache Plugin
77(1)
Grails Wrapper
78(1)
Cloud
78(1)
Chapter 14 Spock
79(4)
Spock Basics
79(1)
A Simple Test
79(1)
Mocking
80(1)
Lists or Tables of Data
81(1)
Expecting Exceptions
81(1)
Summary
82(1)
Chapter 15 Ratpack
83(12)
Script
84(1)
Gradle
84(1)
Ratpack Layout
85(1)
Handlers
85(1)
Rendering
86(3)
Groovy Text
87(2)
JSON
89(1)
Bindings
90(1)
Blocking
91(1)
Configuration
91(1)
Testing
92(2)
Summary
94(1)
Appendix A: Java/Groovy 95(2)
No Java Analogue
96(1)
Tricks
96(1)
Appendix B: Resources 97(2)
Index 99
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.