O'Reilly logo

Applying Domain-Driven Design and Patterns: With Examples in C# and .NET by Jimmy Nilsson

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

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