Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Foreword

Preface

Acknowledgments

About this Book

About the Cover Illustration

1. Getting started

Chapter 1. Welcome to the Griffon revolution

1.1. Introducing Griffon

1.1.1. Setting up your development environment

1.1.2. Your first Griffon application

1.2. Building the GroovyEdit text editor in minutes

1.2.1. Giving GroovyEdit a view

1.2.2. Making the menu items behave: the controller

1.2.3. How about a tab per file?

1.2.4. Making GroovyEdit functional: the FilePanel model

1.2.5. Configuring the FilePanel controller

1.3. Java desktop development: welcome to the jungle

1.3.1. Lots of boilerplate code (ceremony vs. essence)

1.3.2. UI definition complexity

1.3.3. Lack of application life cycle management

1.3.4. No built-in build management

1.4. The Griffon approach

1.4.1. At the core: the MVC pattern

1.4.2. The convention-over-configuration paradigm

1.4.3. Groovy: a modern JVM language

1.5. Summary

Chapter 2. A closer look at Griffon

2.1. A tour of the common application structure

2.2. The ABCs of configuration

2.2.1. A is for Application

2.2.2. B is for Builder

2.2.3. C is for Config

2.3. Using Griffon���s command line

2.3.1. Build command targets

2.3.2. Run command targets

2.3.3. Miscellaneous command targets

2.4. Application life cycle overview

2.4.1. Initialize

2.4.2. Startup

2.4.3. Ready

2.4.4. Shutdown

2.4.5. Stop

2.5. Summary