CHAPTER 9Creating Web Flows
The majority of modern web frameworks are heavily optimized for dealing with stateless interaction between client and server. In other words, these frameworks assume that you'll be defining simple actions that remember nothing about where the user came from, where the user is going, and what state the user is in. The stateless model offers you advantages, of course, including the ability to scale your application's hardware without the need to consider replication of state.
Nevertheless, you'll occasionally face significant disadvantages to implementing certain use cases with a stateless model. Take, for instance, the good old shopping-cart use case. A shopping cart typically entails a step-by-step process of accepting ...
Get The Definitive Guide to Grails, 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.