Web Development Using Grails

  4.8 out of 5 - Read Testimonials

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.

Location

Public Classes: Delivered live online via WebEx and guaranteed to run . Join from anywhere!

Private Classes: Delivered at your offices , or any other location of your choice.

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

Training for your Team

Length: 4 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

What people say about our training

Great training!
Louise Garcia
US Equal Employment Opportunity Commission
Thank you Webucator. The instructor was extremely courteous, professional, and knowledgeable. She took her time when needed and always made sure I understood the process or concept. One of the best instructors I've ever had.
Asel Villalva
Federal Emergency Management Agency (FEMA)
Great Course. The teacher made it interesting and easy to understand.
Kevin Dee
FEG
Instructor obviously knows his Java! Not only did he teach the Java language clearly and concisely, but he also covered Object Oriented Programming concepts as well as Best Practices. A very good class. I really enjoyed it!
Craig Cecil
Intergraph Corporation

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

63,829

Students who have taken Instructor-led Training

11,920

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.63

Students rated our Web Development Using Grails trainers 9.63 out of 10 based on 12 reviews

Contact Us or call 1-877-932-8228