Chapter 11. Focus on the UI
Testing the database and the User Interface (UI) is hard. We discussed testing of the database in Chapter 6, “Preparing for Infrastructure,” but I owe it to you to have some material about testing of the UI as well. You’ll find quite a lot of that in this chapter.
We will also discuss UI design that is more in line with DDD than usual, at least when compared to Rapid Application Development (RAD) in .NET. We will do that by investigating the Model-View-Controller (MVC) and Model-View-Presenter (MVP) patterns.
We will also look at other types of mapping: not object relational mapping this time, but object-to-object mapping and UI mapping.
But first of all, to get us into the right mood, here is a “prepilogue” by my ...