Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Part 2: Core Grails > Controlling application flow

5. Controlling application flow

This chapter covers

  • How controllers, models, and views interact

  • Implementing custom URLs and permalinks

  • Writing filter code to reroute requests

  • Using services for more maintainable architecture

  • Data binding and error handling

  • Using Command objects for tricky form validations

  • Uploading and rendering images


In chapters 3 and 4, we spent plenty of time looking at how Grails handles domain objects. Along the way, we’ve used controllers and implemented a few GSP views to host our forms, but we’ve largely ignored how controllers work. It’s time to set that right.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial