Grails
Scaling Grails at SmartThings
Another talk from GR8Conf US for which I wait impatiently for the video to be released. Notheless the slides of @rappleg's talk provide big value on their own. For example:
- how to handle many to many yourself
- understand better how to manage transactional in services. How to configure readonly
And there is a lot of content about JVM tunning, use of Caches ...
Grails 3 Async — The Good, The Bad, The Ugly
@ctoestreich's post, about the use of Promises in Grails 3, is a cautionary tale.
Conclusion in his own words:
Make sure to specify timeouts with your Grails promises when using the get method, catch the TimeoutException and react appropriately.
Read the whole post, it is great. Moreover, If you ever use Promises in Grails 3 you will be glad you have read it.
▶ Intro to Grails 3 or Spring Boot
The Boston Groovy Grails & Spring Meetup has a Youtube Channel with a great playlist Intro To Grails 3 Or Spring Boot with Batteries included
Subscribe!
Gradle
Creating Gradle Plugins
I often find myself copying the same configurations and tasks from Gradle build file to Gradle build file. Copy / Paste 😱
@brwngrldev shows how to avoid it with the help of a Gradle plugin. Indeed her Quality Checks Gradle plugin includes Checkstyle, FindBugs, and PMD basic configuration in a single plugin. The talk's slides discuss about what it is involved in a plugin creation (code, test, dependencies, tasks) and how to publish it.
Libraries
A Test-Driven Approach to Documenting RESTful APIs with Spring REST Docs
A couple of issues ago I linked to a github repository where @codejennerator shows how to document a Grails 3 app with Spring Rest Docs.
Her talk at GR8Conf US goes beyond that. She shows how to document a Spring Boot, Grails and Ratpack app with Spring Rest Docs.
Most importantly she advocates to add documentation as a integral part of a test driven development approach.
- Your documentation will use live code and thus be up to date.
- You will be encourage to write more tests since it is the path to add documentation.
- You will liberate your app code from annotations whose only aim is to generate API documentation.
An Introduction to jOOQ
As SQL ♥️, JOOQ ( library for SQL interaction) attract my attention the first time I found about it. Indeed I linked to it in Issue #2!!!
@svpember's talk at GR8Conf US 2016 divides in two parts.
- He elaborates around ORM's weaknesses ( trouble with complicated queries, performance, Object / Relation impedance mismatch)
- He introduces JOOQ and some of its features. Specially appealing for me is the Fluent API with full SQL support. Check out the fetch examples as well, pretty cool stuff.
Comment
This issue contains links to several GR8Conf US talks, a new youtube channel for you to subscribe to and a must read Grails Async post.
Enjoy!
Groovy Calamari