Chapter 5. Retrieving the data you need

This chapter covers

  • Generating sample data
  • Querying the database without SQL
  • Unlocking the power of advanced querying features

After a few chapters you have a fully working web application that stores and retrieves data in a relational database. This forms a great base for further development, because you can fully interact with the data model before the real application is ready. You can, for example, make changes to the data via the scaffolding UI to test a feature that you’re developing, such as a search form.

Where do you go next? You don’t want to expose users to the scaffolding UI because it doesn’t exactly provide a great user experience. You need to build a friendlier UI. Let’s start with ...

Get Grails in Action, Second Edition 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.