O'Reilly logo

Clojure Applied by Alex Miller, Ben Vandgrift

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 4State, Identity, and Change

You have entities, collections of data, domain functions, and some useful patterns for processing sequential data under your belt. It’s time to start thinking about the continuity of domain data during the execution of an application.

This means that you should be thinking about the identity and state of your domain entities, and how identities within your domain are related. Creating coherent state management in your domains will prepare your application for the concurrent operations we’ll explore in Chapter 5, Use Your Cores.

In this chapter, you’ll learn to apply Clojure’s tools for managing changes in state for entities in your domain. More fundamentally, we’ll look at identity and state as separate ...

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