April 2009
Intermediate to advanced
520 pages
17h 58m
English
Chapter 1. Grails in a hurry...
Listing 1.1. Our first quote controller
Listing 1.2. Adding some output
Listing 1.3. Handling redirects
Listing 1.4. A random quote action
Listing 1.5. Implementing our first view
Listing 1.6. Updating the view
Listing 1.8. Our first domain class with teeth
Listing 1.9. Data source definition—in memory
Listing 1.10. Data source definition—persistent
Listing 1.11. Random refactored
Listing 1.12. A database-driven random
Listing 1.13. Enabling scaffolding
Listing 1.14. Adding basic validation
Listing 1.15. Beefing up our service
Listing 1.16. Invoking our service
Listing 1.17. Our first test case
Read now
Unlock full access