Chapter 6: Implementing the User Interface – Task-Based
The essence of Domain-Driven Design (DDD) is about capturing the business process and user intent. In the previous chapter, we designed a set of APIs without paying much attention to how those APIs would get consumed by their eventual users. In this chapter, we will design the GUI for the LC application using the JavaFX framework. As part of that, we will examine how this approach of designing APIs in isolation can cause an impedance mismatch between the producers and the consumers. We will examine the consequences of this impedance mismatch and how task-based UIs can help cope with this mismatch.
We will cover the following topics in this chapter:
- API styles
- Bootstrapping the UI
- Implementing the UI
By the end of the chapter, you will know how to employ DDD principles to help you build robust user experiences...