-
Book Overview & Buying
-
Table Of Contents
Grails 1.1 Web Application Development
By :
Now that you have finished with the implementation of your application, it is time to look at the code and see what can be pulled out into a separate component for reuse in future projects. The feature that stands out as being the most reusable is tagging. This feature will be useful on many different projects. Simplifying the implementation of tagging for future projects by using a plug-in will be a great benefit. In this chapter you will see how to:
Create and package your own plug-in
Enhance the plug-in by using dynamic method support in Groovy and Grails
Grails plug-ins are developed in almost exactly the same way a regular application is. They can even be run as an application so that they can be tested independently from a real application. You can create a plug-in by using the create-plugin script in the command line. In your terminal window, go to the folder above the teamwork folder, where the application is present, and run:
grails...
Change the font size
Change margin width
Change background colour