O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning Grails

Video Description

In this Learning Grails training course, expert author Mike Kelly shows you how to create dynamic, data-centric web applications using the Grails framework. This course is designed for the absolute beginner, meaning no prior knowledge of Grails is required. You will start by learning how to install Grails on your operating system and learn how to setup a basic project. You will learn how to create a basic application stack, including creating a controller, view, and model. Mike will show you how to design the data layer, teaching you about dynamic and static scaffolding, bootstrapping data, and various constraints. This video tutorial will also cover designing the web and logic layer, managing data with GORM, and adding finishing touches to the application. Finally, you will learn how to package the application and create and manage an AppFog account. Once you have completed this computer based training course, you will be fully capable of building a working web application with Grails. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of Contents

  1. Introduction
    1. About Grails 00:01:15
    2. About The Author 00:01:16
    3. Project Overview 00:00:56
    4. How To Access Your Working Files 00:02:45
  2. What Is Grails?
    1. Model-View-Controller Frameworks 00:03:20
    2. The Grails Architecture 00:01:43
  3. Installing A Grails Development Area
    1. Installing Grails On Windows 00:03:07
    2. Setting Windows Environment Variables 00:04:35
    3. Installing Grails On OSX And Linux 00:05:43
    4. Installing The Groovy-Grails Tool Suite 00:04:57
    5. Basic Project Setup 00:04:23
    6. Using The Latest Version 00:02:17
  4. Creating A Basic Application Stack
    1. Creating A New Application 00:05:44
    2. Creating A Controller 00:05:19
    3. Creating A View 00:07:07
    4. Creating A Model 00:07:05
    5. Accessing A Model 00:08:33
  5. Designing The Data Layer
    1. Creating An Entity Relationship Diagram 00:05:33
    2. Field Types 00:05:01
    3. Relationships Between Domain Classes 00:05:46
    4. Refactoring with GGTS 00:04:27
    5. Dynamic Scaffolding 00:06:49
    6. Static Scaffolding 00:04:59
    7. Constraints - Field Order 00:04:05
    8. Constraints - Nullable Fields 00:03:19
    9. Constraints - Field Value Size 00:02:58
    10. Constraints - Field Value Contents 00:03:57
    11. Bootstrapping Data 00:04:14
  6. Designing The Web Layer
    1. Skinning - Creating A Logo 00:04:46
    2. Skinning - Adding A Favourite Icon 00:02:27
    3. Skinning - Picking Colors 00:02:44
    4. Skinning - Modifying Colors 00:04:50
    5. Structure Of A View 00:05:10
    6. Text Fields 00:06:53
    7. Selectable Fields 00:07:08
    8. Select Fields 00:03:30
    9. Installing Bootstrap 00:05:00
    10. What Is A Fluid Grid? 00:03:11
    11. Adding The Kiosk Banner 00:06:40
    12. Kiosk Welcome Message And Phone Number 00:05:44
    13. Creating The Button Pad 00:05:21
    14. Button Colors 00:03:12
    15. Activating The Pad Buttons 00:03:41
  7. Designing The Logic Layer
    1. Variables 00:09:15
    2. Building Strings 00:03:36
    3. Calculating Strings 00:04:12
    4. Conditional Branching 00:08:20
    5. Switch Statement 00:03:32
    6. Passing Data 00:05:03
    7. Using Services 00:06:26
  8. Managing Data With GORM
    1. List Queries 00:07:40
    2. Dynamic Finders 00:05:00
    3. Comparators 00:06:08
    4. CRUD - List And Create 00:05:35
    5. CRUD - Save And Show 00:04:48
    6. CRUD - Edit, Update, And Delete 00:05:39
    7. Looping Through Data 00:07:08
  9. Finishing The Application
    1. Linking The Delete Button 00:03:33
    2. Linking The Go Button 00:02:56
    3. Outlining The Action 00:02:51
    4. Creating The Action 00:07:11
    5. Running Full Stack 00:05:04
    6. Finishing The Service - Part 1 00:07:06
    7. Finishing The Service - Part 2 00:10:45
    8. Creating The Profile View 00:05:38
    9. Formatting The Phone Number 00:08:32
  10. Application Deployment
    1. Packaging The Application 00:03:26
    2. Creating An AppFog Account 00:03:56
    3. Installing The AppFog Tools 00:02:23
    4. Pushing The Application 00:05:43
    5. Updating The Application 00:01:59
  11. Conclusion
    1. Next Steps 00:01:15