GORM is half the reason why I use Grails as my default choice in implementing new projects. Using it just makes implementation of business logic a breeze. Working with a database becomes so easy.
GORM is Grails' object relational mapping (ORM) implementation, which sits on top of the very popular Hibernate framework. If you are familiar with Hibernate, then you can pick up GORM in an instant. Don't worry otherwise as GORM is straightforward and easy to learn.
When coding screens, there are many elements that are common and repetitive. Usually the header, footer, and sidebars stays the same and only the content at the middle of the screen that change. The best approach is to have your GSP page contain only the specific business content, and have the repeating content re-factored outside. Grails supports layout templates for this particular purpose.
Groovy Server Pages (or GSP) is the default presentation technology for rendering views in Grails. It is very similar to JSP where you can easily combine static and dynamic contents in your output. The Grails framework have made it very easy to use yet powerful enough for most use cases.
When learning Grails or any other framework, I recommend to study each components separately first. Rather than tackling multiple topics at the same time. For Grails beginners, I recommend to start with controllers. This is one of the simplest to understand and you can see results right away!
Grails is a powerful framework that makes most programming tasks short and simple. A key ingredient to achieving this is the powerful and cool language called Groovy. Before diving into learning Grails, it is worthwhile to learn basic Groovy coding tricks.
Before going through your journey in learning Grails, it is important to understand the MVC Pattern. Most web application framework uses this architecture to help make clean and manageable projects. It is surprisingly simple and easy to learn too.
For most beginners, one of the hardest part in learning a new technology, is to setup their development environment. This tutorial is written to help new Grails programmers to prepare their Windows Development Environment.