This 4 day Groovy on Grails training class teaches experienced web developers how to use the Grails framework to rapidly create sophisticated web applications.
Goals
- Learn to develop model-view-controller web applications using Grails.
- Learn to access relational databases from Grails.
- Learn to work with existing Java classes and libraries.
- Learn to build unit and functional tests for web applications.
Outline
- Groovy Fundamentals
- Differences between Groovy and Java
- Declaring classes
- Using assertions
- Groovy Strings
- Closures
- Lists and Maps
- Expando Objects
- Ranges
- Metaprogramming
- Builders
- Grails Project Structure
- Overview of a Grails project
- Directories for model classes, controllers, and views
- Data source configuration
- Logging
- Command line utilities
- IDE integration
- Application Entities
- Object-Relational Mapping with GORM
- Optional properties
- Constraints and validation
- Modeling relationships
- Performing CRUD operations
- Dynamic queries
- Connection to Hibernate
- Scaffolding
- Dynamic scaffolding
- Working with the dynamic operations
- Static scaffolding
- Generating controllers
- Generating views
- Grails Controllers
- Setting the default action
- Accessing request attributes
- Flash scope
- Data binding and type conversion
- Rendering a response
- Using action interception
- Groovy Server Pages
- Groovy scriptlets
- Built-in Grails tags
- Dynamic tags
- Layouts and templates
- Pagination
- Creating custom tags
- Adding Ajax Support
- Basics of Ajax
- Handling events
- Ajax-supporting tags
- Services and Jobs
- Transactions
- Services and dependency injection
- Java Integration
- ORM integration with Hibernate
- Dependency injection with Spring
- Working with legacy databases
To Hire an AMS Grails Subject Matter Expert and Instructor who also teaches this class, call 800-798-3901 today!