Grails Introduction

  • What is and Why Grails?
  • Getting started
  • Grails MVC framework
  • Controller, Domain, View
  • Scaffolding
  • IDE support


What is Grails?

  • MVC action-based framework
  • Leveraging Groovy language – closure, meta-programming, etc
  • Runs over JVM
  • Follows the good design principles popularized by Rails
  • Convention over configuration
  • Don't Repeat Yourself (DRY)
  • But with tight integration with the Java platform
  • To protect your investment in Java
  • Takes advantage of existing and proven Java technologies Spring+Hibernate+SiteMesh+H2

Why Grails?

  • Productive out of the box with full development stack
  • No configuration
  • No database to configure
  • No servlet container and no app server to install
  • Change and refresh development cycle (no redeploy required)
  • Protect your investment in Java
  • Can take advantage of all existing Java libraries
  • Run it over any servlet container and app server
  • Viable eco-system
  • Huge collection of plug-in's are available
  • Use “beautiful and fun” Groovy language