Course Content
Introduction to Grails
- What is Grails
- How does Groovy fit with Grails
- Review of Model-View-Controller paradigm
- Key Grails concepts like scaffolding, convention over configuration, closures, and metaprogramming
- Installing Grails
Creating your first Grails App
- Generating a basic "hello world" app
- Examination of what was creating
- Understanding the directory structure and dependencies
Database Development with Grails Database Development with Grails
- Connecting to an external database
- Review of Groovy Database development concepts
Grails Models
- Review of Model
- Creating Groovy classes as Models
Grails Controllers
- Review of the Controller
- Generating controllers
- Creating a dynamic scaffolding
- Examine request / response processing
Groovy Views
- Review of the View
- Creating a Groovy Server Page (GSP)
- Working with GSP tags
- Creating and modifying templates
Database Development with GORM
- Understanding GORM - Grails Object/Relational Mapper
- Using GORM for CRUD (Create-Read-Update-Delete)
- Working with Dynamic Finders, Hibernate Query Language, and Find by Example
Understanding Groovy Services
- Review of the command pattern
- Understanding where services fit within a Grails application
- Understanding where services fit within a Grails application
Ajax and Groovy
- Overview of Ajax and its capabilities
- Integrating Ajax with Groovy using GSPs and Prototype.js