Groovy delegation strategy for query re-use in Grails
The problem
Many of our web app views/pages, among other features, consist of a list of entries from a database table. For example, you can go to /customer/list and get a list and count of your customers. This is fairly common for MVC apps like ours....
blog.davidojeda.dev12 min read