Learn Groovy and Grails

In-depth exploratory research is carried out by experts to design Groovy and Grails content. Our Groovy and Grails Syllabus was created by professionals at the expert level to provide the best training environment that can be used at any time. You’ll learn a lot and become an expert in the field thanks to this course. The entire information about the Groovy and Grails course can be found below.

Skills You’ll Gain:

  • Groovy syntax
  • Grails architecture
  • GORM
  • REST APIs
  • Testing
Module 1 - Installation and Introduction to Groovy
  • Installing sdkman
  • Installing groovy development kit using sdkman
  • Understanding the various tools like groovyc, groovy shell and groovy console
  • Writing very basic commands on the groovy shell
  • How groovy compares to other JVM languages like Java
  • Defining variables using the ‘def’ keyword
  • Dynamic typing
  • Explicitly defining data types for a variable
  • Arithmetic, relational, logical operators
  • Elvis and spaceship operators in groovy
  • Defining functions in groovy
  • Function with implicit and explicit returns
  • Default arguments in functions
  • Closures
  • Functional programming in groovy
  • Functions that take groovy map as argument
  • ‘if’ , ‘if-else if-else’ selection statements for branching
  • The groovy ‘switch’ statement to achieve branching
  • Looping using ‘while’ and ‘for’
  • ‘break’ and ‘continue’ statements
  • Classes and objects
  • Difference between instance variables and static variables.
  • Instance and static functions
  • Constructors
  • Groovy bean class
  • On demand encapsulation of object attributes in groovy
  • Operator overloading in groovy classes
  • Composition
  • Inheritance
  • Abstract classes
  • Interfaces
  • Traits
  • Organizing groovy code in packages
  • Default packages imported in groovy code
  • Using the List data type of groovy
  • Functional programming on list data structure using groovy closures
  • Meta programming on list data structure
  • Map data structure in groovy and various operations on a map
  • Flow of a program in the event of an exception thrown in the program
  • Exception handling using try-catch
  • Defining custom exceptions and throwing them
  • The finally block
  • How groovy exception handling is different from java exception handling
  • Meta Object protocol (MOP)
  • MetaClass
  • Adding dynamic methods to build in groovy classes at run time
  • Adding dynamic methods in custom groovy classes at run time
  • Introduction to the builder pattern
  • Designing domain specific language (DSL) to initialize objects in groovy
  • JSON builder
  • Object graph builder
  • Other builders available in the groovy programming language
  • Install grails 3.x latest version using sdkman
  • Create your first grails project and open it in an IDE of your choice that has grails support
  • Understanding the dependency management and build system
  • Tour of the grails documentation
  • Introduction to ORM
  • Grails ORM models and how to define them
  • Connecting grails project to a MYSQL database
  • ‘constraints’ closure
  • ‘mapping’ closure
  • GORM model relationships – one to one, one to many, many to many
  • GORM saving, updating, deleting entities
  • Querying for GORM entities using dynamic finders, createCriteria and detached where
  • Handling model schema changes using database migration plugin
  • Defining a grails controller
  • Defining actions in a controller
  • Mapping of urls to controllers and actions in the controller
  • Sending model from action to views
  • Redirecting to views
  • Storing flash messages
  • Implicit request object
  • Data binding of incoming request data – To parameters in the action function, command objects
  • Handling file uploads
  • Introduction to groovy server pages (GSP)
  • GSP ‘if’, ‘else’, ‘elseif’ branching tags
  • GSP looping using the ‘each’ tag
  • Layouting gsp pages
  • GSP form tags
  • Static resource management tags
  • Link tags
  • GSP tags for displaying the model errors
  • Using GSP tags as method calls
  • Internationalization support
  • Writing business logic in service component of grails
  • Introduction to the Dependency injection (DI)
  • Injecting service components in other service components and controller components
  • Transaction support in grails services
  • Purpose behind profiles
  • Introduction to web services and REST
  • REST profile in grails
  • Introducing other built in profiles in grails
  • Declaring constraints in model classes
  • Validation on the constraints
  • Sharing constraints between multiple classes
  • Cookies
  • Http Sessions
  • Creating interceptors
  • Building CRUD interfaces using scaffolding in grails
  • Introduction to the testing framework and test support in grails
  • Writing unit tests for grails services
  • Writing integration tests for complex business scenarios
  • Introduction to functional testing

Earn a recognized credential that validates your technical expertise and opens doors to new career opportunities.

Why Learn Groovy and Grails?

  • JVM-based dynamic language
  • Simpler syntax than Java
  • Metaprogramming capabilities
  • Domain-specific language creation
  • Full-stack web framework
  • ORM with GORM
  • REST API development
  • Dependency injection
  • Testing framework support
  • Integration with Java ecosystem

Whatspp Contact

You can directly speak to us via whatsapp. Just click on Whatsapp Below