GR8 Recap



GR8 Recap

0 0


gr8-2013-recap


On Github beckje01 / gr8-2013-recap

GR8 Recap

@beckje01

http://bit.ly/gr8-recap

Agenda

  • GR8US Keynote
  • Gradle
  • Groovy
  • Grails
  • Ratpack

Open Source and You

Peter Ledbrook

Slides

Takeaways

  • Any size contribution helps
  • If you use open source help out
  • Docs are a great place to start

Gradle

A powerful build tool blending Ant and Maven.

Workshop

A good overview starting from the basics. There are slides and excersises to work through.

Zip of all materials available from USB Stick.

Building Grails with Gradle

  • Gradle is faster than ivy at dependency resolution
  • All or nothing solution
  • Grails 3 will use gradle as the build system
  • Doesn't currently work with Grails 2.3 RC1

Video

Gradle Multi Project Build

Gradle really shines at multi-project build.

Groovy

Groovy is bigger then just Grails. There are many new features that have been added recently.

@DelegatesTo

This new annotation allows for better DSLs to be built. Using this annotation along with static compilation you can type check your DSLs. If you are using IDEA you even get autocomplete.

@DelegatesTo Docs Example Usage

Meta Annotations

  • Allows rolling up annotations.
  • Set defaults for annotation parameters.

Docs

ASTs

Using ASTs for compile time meta programming. An in depth workshop.

The Repo has tags for each exercise and it's solution. Repo

Groovy 2.1 Talk

Guillaume Laforge talked about everything new in Groovy 2.1

Slides

Grails

Many great talks and the area I gave my talks in.

Transactions

A proxy object for services adds the transactional functionality but that means you can't call new Server() and get transactions.

Video

My Plugin Talk

Details on all the different ways to work with forked or unreleased plugins.

Video to come on InfoQ later this year.

Slides

My Static Checking Talk

Detailed notes on how to set up static checking and why we need it.

Video to come on InfoQ later this year.

Slides

Node Tools

How to use a ton of the front end focused tools that are built out in Node with your grails project.

Slides

Hipster Talk

Want to use lots of new cool tools like vertx with grails?

Example Project

Extensible Testing Framework

This is a great intro to geb as well as a methodology to extend pages for a reusable system.

Slides

Good Form

A form tool for grails.

Video

Searching for the Grail

Short answer use elasticsearch

Slides

Ratpack

A new micro framework. Like sinatra. Allows a single file webapp using @Grab.

Example Single Page App

@GrabResolver("https://oss.jfrog.org/artifactory/repo")
@Grab("org.ratpack-framework:ratpack-groovy:0.9.0-SNAPSHOT")
import static org.ratpackframework.groovy.RatpackScript.ratpack
import org.ratpackframework.groovy.templating.TemplateRenderer

ratpack {
    handlers {
        get {
            response.send "This is the app root (also try: /date and /some.txt)"
        }

        get("date") { 
         response.send "Hey date area"
       }
    }
}

Testing Support Hackathon GR8EU

At the GR8EU Confernce I participated in a hackathon and helped add testing support to Ratpack.

Example Test

Ratpack Example App

App

Thank You