CG数据库 >> Groovy Programming Fundamentals – Getting Started with POGOs, Closures, and Collections (2015)

Groovy Programming Fundamentals – Getting Started with POGOs, Closures, and Collections (2015)的图片1

Groovy Programming Fundamentals - Getting Started with POGOs, Closures, and Collections (2015)

FLV | AVC 1856kbps | English | 1920x1080 | 29.97fps | 3h 56mins | AAC stereo 128kbps | 5.08 GB

Genre: Video Training

Learn the advantages of using Groovy by itself and with existing Java projects. This video workshop takes you into the heart of this JVM language and shows you how Groovy can help increase your productivity through dynamic language features similar to those of Python, Ruby, and Smalltalk. Presenter and Java consultant Ken Kousen demonstrates how writing anything from a simple build script to a full scale application is much easier with Groovy than with Java. You’ll quickly learn how to add Groovy to your projects, and then explore the language through a host of examples and demonstrations. Once you complete this course, check out Ken’s other videos on the subject: Practical Groovy and Mastering Groovy.

Walk through Groovy’s basic data types

Use the “slashy” string syntax to define regular expressions

Learn how operator overloading in the libraries simplifies your code

Control and customize all the natural defaults and autogenerated code in POGOs

Get demonstrations on using closures, and mixing Java and Groovy classes together

Know when and how to use Abstract Syntax Tree (AST) transformations

Parse and generate both XML and JSON

Access RESTful web services with ease

Ken Kousen, President of Kousen IT, Inc., is a technical trainer, mentor, and consultant in all areas related to Java, specializing in Android, Spring, Hibernate/JPA, Groovy, and Grails. He is the author of Making Java Groovy (Manning) and the upcoming O’Reilly book, Gradle for Android.

Introduction

Welcome

Groovy and Other Non-Java Languages On The JVM

Installing Groovy

Installing Groovy

Running a "Hello, World" Script

Running Groovy from Java

Asserts, Imports, and Def

Groovy Programming Fundamentals – Getting Started with POGOs, Closures, and Collections (2015)的图片2

Numbers and Strings

Integer and Floating Point Types

Operator Overloading

Strings and Groovy Strings

Multiline Strings and the "Slashy" String Syntax for Regular Expressions

Plain Old Groovy Objects (POGOs)

A Lot of Power From Little Code

Collections

Groovy Ranges and Lists

Maps and Sets

Basics of Closures

Iterating Using Closures

Transforming Collections with the Collect Method

Demo: Accessing the Google Geocoder Web Service

Demo: Accessing the ICNDB Web Service

Miscellaneous Operators and Techniques

Safe Navigation, Spaceship Operator, and Elvis

Demonstrations

Demo: Sorting Strings

Demo: Summing Numbers

Demo: Closures As A Filter

Demo: Processing Web Pages

Demo: Printing Padded Binary Strings

Groovy Programming Fundamentals – Getting Started with POGOs, Closures, and Collections (2015)的图片3

发布日期: 2015-06-28