Design of the Presentation

Let’s put the two variations of the MVP pattern through their paces and build a sample front end for a Web and Windows presentation. The final user interface you should expect to obtain is what you already saw in Figure 7-2 for Windows and Figure 7-3 for the Web. The user interface is therefore expected to provide a detail view of a customer. The user interface features a list to let users pick out the customer whose information they want to drill down into, and it contains a few labels to display related information—ID, company name, contact name, and country.

What Data Is Displayed in the View?

In an MVP scenario, the first step to complete is defining the contract for each required view. Each page in an ASP .NET application, ...

Get Microsoft® .NET: Architecting Applications for the Enterprise now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.