Chapter 1. Grails in a hurry...

 

This chapter covers

  • What is Grails?
  • Core Grails philosophy
  • Installing Grails
  • The key components of a Grails application
  • Developing and deploying your first Grails application

“Help, I’ve lost my Mojo!” That statement is probably the most concise summary of what developers feel when working with one of the plethora of Java web frameworks. So much time editing configuration files, customizing web.xml files, writing injection definitions, tweaking build scripts, modifying page layouts, restarting apps on each change, aaaahhhh! “Where has all the fun gone? Why has everything become so tedious? I just wanted to whip up a quick app to track our customer sign-ups! There’s got to be a better way...” We hear you.

Grails is a “next-generation” Java web development framework that draws on best-of-breed web development tooling, techniques, and technologies from existing Java frameworks, and combines them with the power and innovation of dynamic language development. The result is a framework that offers the stability of technologies you know and love, but shields you from the noisy configuration, design complexity, and boilerplate code that make existing Java web development so tedious. Grails allows you to spend your time implementing features, not editing XML.

1.1. Why Grails?

1.2. Getting set up

1.3. Our sample program: a Web 2.0 QOTD

1.4. Creating the domain model

1.5. Adding UI actions

1.6. Improving the architecture

1.7. Summary and best practices

sitemap