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...
A Prepilogue
By Dan Byström
Now you're sitting here, admiring your work: the most perfect Domain Model ever to see the light of day. You have managed to do what at first seemed like an impossible mission: you have mapped a large pa...
The Model-View-Controller Pattern
By Christoffer Skjoldborg
The intent of the Model-View-Controller pattern (MVC) is to break UI behavior up into separate pieces in order to increase reuse possibilities and testability. The three pieces...
Test-Driving a Web Form
By Ingemar Lundberg
How can you unit testand thereby also use TDD foryour GUI?
In this short section I'll try to give you a general idea of how you can unit test your GUI. In the process, techniques such as se...
Mapping and Wrapping
By Mats Helander
With the aid of O/R Mapping, we are able to connect our Domain Model to the relational database. Together with the business methods that we add to the Domain Model classes and possibly to a Servic...
Summary
I think my friends just described how you can benefit from the Domain Model again through the discussions of presentation services.
Even though you focus on the core with the Domain Model, that's not the same as saying that the presentati...
Epilogue
So we have been thinking about an application in something of a DDD-ish way. The book was pretty much structured the same way, by which I mean the following:
First we try to collect the requirements and understand the problem.Next we thi...
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.