Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you use Presentation Model with Webforms?

I have started using Presentation Model w/ ASP.NET webforms and like the pattern quite a bit. What I am really having an issue with is where to instantiate some of my classes, mostly the presentation model, my business object, and things like the data for drop down lists. So I could use some tips or a complete example of the Presentation Model (I have only find pieces so far).

like image 364
Greg Avatar asked Sep 27 '08 06:09

Greg


1 Answers

Video Links -

Rik Bardof on Design Patterns (including MVP)

Jean Paul Boohdoo on MVP

As far as the rest of your architecture goes, I would recommend reading Jeffrey Palermo's blog series on Onion Architecture. He has a sample project CodeCampServer that illustrates some good practices. This is a web app using ASP.NET MVC, but the principles still apply.

like image 185
NerdFury Avatar answered Oct 19 '22 22:10

NerdFury