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 ...

Get Clojure Applied 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.