O'Reilly logo

Grails in Action, Second Edition by Glen Smith and Peter Ledbrook

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Single-page web applications (and other UI stuff)

This chapter covers

  • Why single-page apps are popular
  • Advanced Grails layouts and Ajax facilities
  • How to manage Grails UI resources
  • Modern web app architecture with AngularJS

In chapter 12, we took you through the basics of designing and implementing RESTful API endpoints in your Grails application. And one of the most common consumers of those RESTful endpoint is likely to be a rich web-client application. In this chapter you build exactly that—adding rich desktop-like services to your Grails web tier that leverage today’s hottest JavaScript frameworks and latest web app architecture trends.

But before you leap into the code, let’s consider “What exactly are Single-Page Applications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required