What is Grails?
Grails is a framework based on Groovy (which in turn is based on Java) which allows for rapid web development of Java based applications.
Grails follows the "convention over configuration" aka "coding by convention" paradigm which basically means that developers will spend less time on conventional aspects of an application, but without losing any flexibility that you might find when building something from the ground up.
A couple of things to note about Grails
- Grails includes Hibernate and Spring to make your life much easier
- Templating using GSP (Groovy Server Pages)
- Good Ajax support
- Plugins! (well, some of them)
No more XML config files
Grails takes away the need to add configuration in XML files. Instead the framework uses a set of rules or conventions while inspecting the code of Grails-based applications. For example, a class name which ends with
Controller(for exampleBookController) is considered a web controller.
And Best of all
Grails is Ready-to-use straight out the box. No required libraries, no tedious installations of who knows what. Just unzip it and follow the setup guide
Note : If you aren't use to MVC type frameworks Grails is going to be a steep learning curve (but hey, that is what these tutorials are for), but once you