In this chapter
- How plugins work
- Writing your own plugins
- Managing plugin repositories
We looked at build integration and project management in the previous chapter, so now we’ll look at a way to modularize and extend your application by developing your own plugins. We introduced you to the Grails plugin system back in chapter 8, and you saw then how useful plugins can be. They’re a fundamental and powerful part of the Grails infrastructure, and even if you never need to write your own plugins, understanding how the system works will set you in good stead for the future.
When might you need or want to create your own plugin? We don’t want to limit your thinking on this, but here are three common uses: