Table of Contents
Greetings and Salutations! |
Let Me Tell You About Grails… |
How Does Grails Do It? |
Why This Book? |
Who Should Read This Book |
Source Code |
Acknowledgments |
1. | Enough Groovy to Be Dangerous |
Groovy Syntax Compared to Java |
Groovy Strings |
Groovy Closures |
Groovy Collections |
Metaprogramming |
Where to from Here? |
2. | Our Project |
Introducing TekDays.com |
Meet Our Customer |
Iteration Zero |
Summary |
3. | Laying the Foundation |
Creating a Domain Class |
More About Domain Classes |
Testing Our Domain Class |
Taking Control of Our Domain |
Modifying Code That Doesn’t Exist |
Bootstrapping Some Test Data |
Summary |
4. | Building Relationships |
The TekUser Domain Class |
One-to-One Relationships |
One-to-Many Relationships |
Collections of Simple Data Types |
Adding a Sponsor Class |
Many-to-Many Relationships ... |
Get Grails 2: A Quick-Start Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.