Groovy and Grails

Groovy and Grails


Course code: 
Time Unit: 

This four-day intensive training presents Groovy and Grails in detail. After a thorough introduction to the technology, students are taken through many advanced aspects of the Groovy programming language and the Grails Web application framework.
This training is designed to quickly move teams beyond the basics and on to the most powerful aspects of Groovy and Grails. Students should expect intensive, hands-on interactive lab work.

By the end of the training, you should:
• Have an understanding of the Groovy programming language and the associated Grails framework
• Have a sound knowledge of all the core concepts from the Web to the persistence layer
• Understand key development best practices that enable the development of higher quality code

And you should be able to do the following:
• Use Groovy to write programs
• Integrate with Java
• Use Groovy to add dynamic functionality
• Use Grails for Web development and persistence
• Ensure reliable Grails applications through unit and integration testing
• Move beyond the basic scaffolding mechanisms to build robust applications



Day 1 The Groovy Language
• Introduction to Groovy
• Installation and Tools
• Groovy Beans
• Language Fundamentals
• Collections and Closures
• Miscellaneous APIs and Java Interoperability

Day 2 Advanced Groovy
• Groovy Metaprogramming
• Groovy Annotations and AST
• Building DSLs with Groovy
• Groovy Testing

Day 3 Developing Enterprise Applications with Grails
• Introduction to Grails
• Installation and Grails Quick Start
• GORM Basics
• Advanced GORM: Advanced Modeling and Querying
• Testing Grails Components

Day 4 Controllers, Views, Services, and Plug-Ins
• Grails Controllers
• GSP, Tag Libraries, and GSP Templates
• Form Handling and AJAX processing
• Grails Services and Transactions
• Grails Plug-Ins



Experience with developing applications using Java



• Developers
• Architects