Groovy
Groovy Gorm Shell Script
Read more →Gorm is the data access layer in Grails. I’ve been mostly away from Grails since 3.0 landed (for reasons).
I’ve recently been taking a look at how things have come along, and have continued delivering training on Groovy.
In the session I’m delivering there was some interest in Gorm as I walked people through it, and since I’ve been showing people the benefits of using Groovy for shell scripting and system automation, I thought, why not Gorm too?
Simplicity in Grails Design – All Hail the Command Object
Read more →All Hail the Command Object
This is a follow on to Simplicity in Web Architecture – Beware the Stateless Service
In that article, I gave my opinion on the Stateless Service programming model, and why I think it has been overused and touched on some of the issues it has caused.
It developed out of my unhappiness with the way I see code layed out in many Spring and Grails applications. The Service layer becomes stuffed with all the important logic, kept away from the domain and without much in the way of support to be had from the excellent Object Oriented language that Groovy is.
Simplicity in Web Architecture – Beware the Stateless Service
Read more →Simplicity in Web Architecture – Beware the Stateless Service
This article is related to my recent talk at the London Groovy/ Grails User Group which you can see at SkillsMatter
In that talk I presented a way to get back to an Object Oriented way of thinking within Grails, using the existing infrastructure to help us get away from the Stateless Service paradigm that we have so deeply embedded in our psyche.
The Future of Grails
Read more →Peter Ledbrook recently wrote a blog post about the future of Grails, which sparked some deep thoughts about where Grails is heading as a platform.
As a long-term Grails user with interests in programming in the large, functional languages, DDD, CQRS, and high-volume HTTP, I’ve been contemplating what the future holds for this framework.
The Changing Landscape
The industry has changed significantly since Grails was born. Grails emerged from the Spring/MVC consensus - essentially designed to be “Java/Spring web development done right.” It was, and continues to be, a better Spring MVC paired with a better Java (Groovy). This approach has been beneficial to the industry.