Chapter 6Registering Users
If up to this point we had been writing banking software, we would have been doing a rather lousy job of it. You see, we’ve left the front door wide open. The whole two endpoints we have in our system do absolutely nothing to identify who is calling them.
In this chapter you’re going to start adding user registration. Registration is a process, and we’re going to see how we discover processes and capture them in domain messages. What events capture the steps of our process? What commands trigger those events? What Components emerge as owners of these messages, and how do we communicate the message contract to the rest of the world?
You’ll also learn about data validation in an eventually consistent world. You’re probably ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access