Web Development using Grails

Customized Onsite Training

4
Days
  • Customized Content
  • For Groups of 5+
  • Online or On-location
  • Expert Instructors

Live Online Training

$1,900.00
or 4 vouchers
  • Live Online Training
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video
Overview

This Web Development using Grails training class teaches web developers how to use the Grails framework to rapidly create sophisticated web applications. Starting with a foundation of basic Java, students learn the fundamentals of the Groovy programming language. The course then discusses how Grails uses convention over configuration to build applications that rest on the foundation of the Spring Framework and the Hibernate ObjectRelational Mapping API. Applications are built using a standard layered architecture, combining domain classes, controllers, and transactional services. Recent developments in the framework are also covered, including plugins, test driven development, and RESTful web services.

This course uses Grails version 2.5, but the information is applicable for versions 2.3 and 2.4 as well.

Goals
  1. Develop modelviewcontroller web applications using Grails
  2. Access relational databases from Grails
  3. Work with existing Java classes and libraries
  4. Build unit and functional tests for web applications
Outline
  1. Groovy Review
    1. Relationship between Groovy and Java
    2. Operator overloading
    3. Using assertions
    4. Strings and Groovy Strings
    5. POGOs
    6. Closures
    7. Ranges, Lists, Sets, and Maps
    8. Basic AST transformations
    9. The Groovy JDK
    10. Miscellaneous operators
    11. Parsing and building XML
    12. Parsing and building JSON
  2. Grails Introduction
    1. Installing Grails
    2. Grails Links
  3. Starting a Grails project
    1. Project Structure
    2. Domain classes
    3. Controllers
    4. Services
    5. i18n
    6. Views
    7. Interactive console
    8. IDE support
  4. Domain Objects
    1. ObjectRelational Mapping with GORM
    2. Transient properties
    3. Constraints and validation
    4. CRUD operations
  5. Scaffolding
    1. Dynamic vs static
    2. Generating controllers
    3. Generating views
    4. Tests
  6. Controllers
    1. Accessing Controllers
    2. Returning from Controller Actions
    3. The params map
    4. Default Action in a Controller
    5. Parameter binding
    6. Render, Redirect, Return
    7. Respond
  7. Grails Object Relational Mapping (GORM)
    1. Logging SQL
    2. Optional Hibernatemanaged Properties
    3. Constraints
    4. Saving to the Database
  8. The Hibernate Session
    1. ObjectRelational mapping
    2. Transient, persistent, and detached objects
    3. The Open Session In View (OSIV) pattern
  9. GORM Relationships
    1. OnetoMany
    2. ManytoMany
    3. Cascade save and insert
    4. Cascade delete
    5. Unidirectional and bidirectional associations
  10. Grails Queries
    1. Dynamic Finders
    2. Criteria Queries
    3. Where Queries
  11. Services
    1. The need for a service layer
    2. Grails and the DAO layer
    3. Grails without transactions
    4. Grails services
  12. REST
    1. REST principles
    2. URL mappings
    3. Content negotiation
    4. Hypermedia
    5. REST in Grails (Grails 2.2 and earlier)
    6. REST in Grails (Grails 2.3 and above)
  13. Plugin Review and Resources
    1. Default plugins
    2. Spring Security
    3. Google Visualization
    4. Console
    5. Survey of popular plugins
    6. References, online and otherwise
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Grails class:

  • Groovy
  • Java EE including servlets, JSPs, and database access
Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

74,839

Students who have taken Live Online Training

15,233

Organizations who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.44

Students rated our Web Development using Grails trainers 9.44 out of 10 based on 2 reviews

Contact Us or call 1-877-932-8228