It's very easy to create plugins for Grails, particularly if all you want to do is share some domain classes between projects. But even with the simplest plugins, you still need to know a few things to make integration with applications and other plugins as smooth as possible.
Learn how to make your plugins as flexible as possible, while minimising integration issues with other plugins. For example, find out how Searchable was modified to allow users to add search to domain classes provided by other plugins; and why the Release plugin switched from a DSL for its configuration to simple properties.
Peter is a long time Java developer, Grails user and plugin author. He is also co-author of the book Grails in Action with Glen Smith.
He has been using Java for over 10 years across a range of industries and technologies, covering both client-side and server-side development. He discovered Groovy & Grails in 2006 and is now a core Grails committer, general Groovy fan, and speaker on Groovy technologies. He is currently an independent consultant based in London.More About Peter »