N-Tier Architecture

The Windows Forms system makes it easy to build n-tiered architectures. N-tiered architectures are those applications that are broken into multiple cooperating components. Although the various components, in the example programs, are compiled into the same program, they are logically separate and provide a framework for a more sophisticated distributed application.

The actual pattern employed, in the examples, is Model-View-Controller (MVC). The Windows Forms component is the View. There are a couple classes that are solely concerned with managing the data, which are the Model. A central object, referred to as the Controller, coordinates the View and Model portions. This section introduces where each portion of the program ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.