MVP - small example

Topics: CAB & Smart Client Software Factory
Sep 11, 2006 at 10:40 PM
originally posted by: dafina

Hi together,

I have just started to work with CAB, and I really like what I have seen so far. Nevertheless I am interested in a small
example using CAB with the Model-View-Presenter pattern. I have read in this forum about examples in the SCSF package.
But I am looking for a an example without SCSF. Any hint would be great.

Thanks in advance,
dafina

PS: Sorry I have seen that I have posted in the wrong category - perhaps can somebody move this posting to the
"General" category?
Sep 12, 2006 at 12:49 AM
originally posted by: bil_simser

This example is for ASP.NET but it's the same for a Smart Client, you just WinForm controls rather than WebForm ones:
http://www.codeproject.com/useritems/ModelViewPresenter.asp
Sep 12, 2006 at 2:02 AM
originally posted by: dafina

Hi,

thanks - this is great MVP sample. But it's without using the CAB. I am searching a sample with CAB and MVP.
Any other hints?

Cheers,
dafina
Sep 12, 2006 at 2:06 AM
originally posted by: bil_simser

Sorry, you mentioned you wanted an example without SCSF. Well, the MVP recipe that's in SCSF is just a simple MVP pattern that uses ObjectBuilder to inject the presenter into the view so it's using CAB. There's nothing "special" in SCSF that's doing this. YOu can do it exactly the same way using CAB.