Grails is an extremely productive, open-source web application framework, based on the Groovy programming language. A dynamic language, Groovy offers attributes similar to programming languages like Ruby, Python, Perl, and Smalltalk. It is based on the OOPs (Object Oriented Programming) concept and is perfect for developing web applications that run consistently on the Java Virtual Machine (JVM). Groovy and Grails is one of the most widely accepted web frameworks as it allows you to write codes easily and combine new Java modules to the existing ones.
This course will take you from the basics of Groovy installation, features and functions and object oriented programming, to more advanced topics like metaprogramming and using builders to build custom languages. You will learn about Grails right from the basics of setting up the environment to building innovative, enterprise-ready web, software, and mobile applications application solutions using Groovy and Grails.
What You Will Learn
-
Installation and introduction
Install Groovy using sdkman. Learn about the tools that come with the Groovy installation. -
Variables & Operators
Define Groovy variables.Understand dynamic/static typing support for variables, play with operators. -
Functions
Learn how to define functions in the Groovy way! Implicit/explicit returns, closures and much more -
Branching & Looping
Learn to make branches in the code using selection statements. Also learn to write loops in Groovy. -
Object oriented programming
Learn object oriented constructs & how Groovy achieves pure object orientation in language design. -
Composition and inheritance
Understand the use of other object oriented concepts like composition, inheritance. -
Collections
Learn to use groovy collection data types like lists and maps. -
Exception handling
Learn the use of exceptions to alter the flow of a Groovy program, build your own custom exceptions -
Metaprogramming
Learn Groovy goodness like meta object protocol, meta class; that add dynamacity to Groovy -
Builders
Build custom domain specific languages using builders available in the Groovy programming language -
Introduction and installation
Learn to set up the Grails environment along with a high level tour of the technology -
Model layer
Learn the Grails solution to object relational mapping (GORM), model relationships, querying etc -
Controllers
Learn this Grails component that orchestrates the entire request-response flow. -
Common web concerns
Learn common web concerns like redirect, chaining, data binding; that the controller has to offer -
View layer
Learn the all powerful groovy server pages (GSP) templating language, and understand JSON views -
Service layer
Learn to write complex business logic in this Grails component. -
Profiles
Why have profiles in your Grails project. Practically use REST profile for making rest web services. -
Other common web concerns
Learn to upload files in grails, cookies, session management, server side validation and much more. -
Testing
Write unit, integration and functional tests for the various components in a grails application
Who should attend
- Candidates who want to automate day to day programming using the Groovy language
- Java developers looking out for a JVM language that expresses more with less code
- Those looking to use Groovy to build dynamic database driven web apps & api backends
Using groovy as the programming language for day to day software tasks, use grails to build dynamic database driven web applications
We provide the course in English.