Chapter 10. Rapid Seam development

 

This chapter covers

  • The Seam Application Framework
  • Building CRUD screens for an entity
  • Paginating and sorting a query result set
  • Assigning restrictions to queries

If you think back to when you first learned golf—perhaps you are still learning—you were probably overwhelmed with all of the things you have to concentrate on at once. To start, you have to judge the distance you want to hit the ball and choose the right club for it. This “design decision” is a tough call even for the best golfers. Once your aim is set and you’re ready to take your swing, you have to position your stance, set your grip, align the clubface, keep your head down, your shoulders level, and your eye on the ball. It’s all so mechanical that even a good swing feels unnatural.

Then, one day, it all clicks. You stop thinking about every last detail and you just swing. It’s hard to explain how you know—it just becomes natural to you, like walking or riding a bike. When you look down the fairway, accounting for the obstacles in front of you, you just get that sense of how far you want to send the ball and which club to use to get it there. You are no longer “designing” your decisions based on some prescribed distance chart, nor do you feel uncomfortable when you swing.

10.1. A framework within a framework

10.2. Stateful CRUD using the Home component

10.3. Providing feedback

10.4. Smarter queries with the Query component

10.5. Summary