Building a MVP Framework: Part 1: The Goals

In Part 1 of the Building a MVP Framework series I’m going to define the goals of the sample application and the framework itself.

Framework Goals

The goals of any Framework are (or at least should be) determined by the requirements of the applications that will use the Framework. The MVP Framework must address the following needs.

  1. Separation of UI and Business Logic code.
  2. Thin UI.
  3. Easy to implement.
  4. Easy to Unit Test a very high percentage of the application.

Sample Application Goals

In this series I’ll be using the Chinook Database imported into a SQLite database. Initially the application will have five six forms.

  1. Application Window.
  2. Welcome Dialog.
  3. Create SQLite database from SQL file.
  4. Edit Artists. Very simple form allowing scrolling throw the list of Artists and editing.
  5. Grid of Artists. Very simple form display a grid of Artists with editing.
  6. Artists Explorer. The explorer will have three panels: Tree, Grid & Edit. The explorer will use and display data from the Artist, Album, Track, PlaylistTrack & Playlist tables of the Chinook Database.

In Part 2, The Application Window, I’ll look at the first implementation of MVP.

66 Comments

Add a Comment