Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

List of Figures

List of Tables

List of Listings

Foreword

Preface

Acknowledgments

About this Book

About the Title

About the Cover Illustration

1. Introducing Grails

Chapter 1. Grails in a hurry...

1.1. Why Grails?

1.1.1. First there was Rails...

1.1.2. Why Grails changed the game

1.1.3. Big idea #1: Convention over Configuration

1.1.4. Big idea #2: agile philosophy

1.1.5. Big idea #3: rock-solid foundations

1.1.6. Big idea #4: scaffolding and templating

1.1.7. Big idea #5: Java integration

1.1.8. Big idea #6: incredible wetware

1.1.9. Big idea #7: productivity ethos

1.2. Getting set up

1.3. Our sample program: a Web 2.0 QOTD

1.3.1. Writing your first controller

1.3.2. Writing stuff out: the view

1.3.3. Adding some style with Grails layouts

1.4. Creating the domain model

1.4.1. Configuring the data source

1.4.2. Exploring database operations

1.5. Adding UI actions

1.5.1. Scaffolding: just add rocket fuel

1.5.2. Surviving the worst case scenario

1.6. Improving the architecture

1.6.1. Your first Grails test case

1.6.2. Going Web 2.0: Ajax-ing the view

1.6.3. Bundling the final product: creating a WAR file

1.6.4. And 55 lines of code later

1.7. Summary and best practices

Chapter 2. The Groovy essentials

2.1. An introduction

2.1.1. Let���s play with Groovy!

2.1.2. Some basic differences from Java

2.1.3. Some new operators

List of Figures