The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

simple examples of M-V-P

as a follow-up to:

Are there any simple examples of M-V-P? I want to do basic crud operations.

Patrick From An IBank Send private email
Thursday, September 27, 2007
I've liked Phil Haacks description below,

Webforms doesn't lend itself that well to MVP given the way the view comes first, however if you ignore how the view / presenter are hooked together the above is simple description.

From what I've read the general pattern is the same all over,  it varies by author on how they hook everything together, and how much work the view does (Passive View / Supervising Controller from Fowler).

We're still using Webforms and have a base page that does the viring together using Castle Windsor, we end up with the following syntax

public partial class LicenseSetup : BasePage<LicenseSetupController>, ILicenseSetupView

Hope this helps
Nigel Sampson Send private email
Thursday, September 27, 2007
Have a look at at

Ron Jacobs interviews a cool duo with very interesting ideas on MVP. Links from the page above

The Humble Dialog Box by Michael Feathers

Brian Marick's Presenter First wireframe demo (quicktime movie)

Atomic's Presenter First homepage

An Atomic Spin blog entry about interaction-based testing

All this is about Presenter First which is nice take on MVP and UI testing. I find it very interesting and am also writing about MVP for VB6 (don't ask...) but it is still on part 1 only:
JSD Send private email
Thursday, September 27, 2007
The series of posts by Jeremy Miller on "Build Your Own CAB" has a good discussion of MVP and other related patterns you may want to check out as well:
Tuesday, October 02, 2007

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz