Click here to Skip to main content
15,896,606 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralMVP implementation questions Pin
Nathan Gloyn15-Jan-09 21:59
Nathan Gloyn15-Jan-09 21:59 
GeneralRe: MVP implementation questions Pin
N a v a n e e t h15-Jan-09 23:04
N a v a n e e t h15-Jan-09 23:04 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn16-Jan-09 4:00
Nathan Gloyn16-Jan-09 4:00 
GeneralRe: MVP implementation questions Pin
N a v a n e e t h16-Jan-09 5:05
N a v a n e e t h16-Jan-09 5:05 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn16-Jan-09 5:38
Nathan Gloyn16-Jan-09 5:38 
GeneralRe: MVP implementation questions Pin
Jon Rista16-Jan-09 5:59
Jon Rista16-Jan-09 5:59 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn16-Jan-09 8:50
Nathan Gloyn16-Jan-09 8:50 
GeneralRe: MVP implementation questions Pin
Jon Rista16-Jan-09 9:21
Jon Rista16-Jan-09 9:21 
I would be glad to help. There is a lot of rave these days about MVC, partially because of greater TDD movements, partly because of ASP.NET MVC. MVC is definitely nice, but its not the solution to every presentation problem.

I would like to get a bit more information about your exact scenario. From a rigid design perspective, your Model should be abstracted away from the views as much as possible, completely isolated even. The "bridge" between view and model is the presenter/controller. It depends on the scale of the application, but model could actually be a full Domain Model. Its also possible that you have a domain, but it is isolated by a set of services. Sometimes people share their domain accross the wire from services, but going back to the core principals of programming...Separation of Concerns, Single Responsibility, Isolation, etc. it might be best to have a presentation-specific model that you create from your domain or whatever your services return to give you an added degree of separation and testability.

Anyway...if you can give me a concrete example (you can keep it simple) of how your view, presenter, and model are interacting now (or would), and note where your storing state or having state issues, I'll see what I can do to help you organize it better. Sometimes its just a matter of the wrong class doing something useful...and splitting the class in two and putting the other part in a different namespace/project solves the problem.
GeneralRe: MVP implementation questions Pin
Nathan Gloyn16-Jan-09 9:41
Nathan Gloyn16-Jan-09 9:41 
GeneralRe: MVP implementation questions Pin
Jon Rista16-Jan-09 10:02
Jon Rista16-Jan-09 10:02 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn16-Jan-09 10:17
Nathan Gloyn16-Jan-09 10:17 
GeneralRe: MVP implementation questions Pin
Jon Rista16-Jan-09 10:58
Jon Rista16-Jan-09 10:58 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn19-Jan-09 8:25
Nathan Gloyn19-Jan-09 8:25 
GeneralRe: MVP implementation questions Pin
Jon Rista19-Jan-09 9:55
Jon Rista19-Jan-09 9:55 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn19-Jan-09 10:54
Nathan Gloyn19-Jan-09 10:54 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn3-Feb-09 9:50
Nathan Gloyn3-Feb-09 9:50 
Questionaccess denied for CreateObject("Outlook.Application") Pin
NidhiKanu15-Jan-09 19:41
professionalNidhiKanu15-Jan-09 19:41 
AnswerRe: access denied for CreateObject("Outlook.Application") Pin
Rutvik Dave16-Jan-09 3:49
professionalRutvik Dave16-Jan-09 3:49 
AnswerRe: access denied for CreateObject("Outlook.Application") Pin
Christian Graus25-Jan-09 0:43
protectorChristian Graus25-Jan-09 0:43 
GeneralRe: access denied for CreateObject("Outlook.Application") Pin
NidhiKanu26-Jan-09 18:35
professionalNidhiKanu26-Jan-09 18:35 
Questiongridview rendering from 2 database tables Pin
billcodes15-Jan-09 19:35
billcodes15-Jan-09 19:35 
AnswerRe: gridview rendering from 2 database tables Pin
Abhijit Jana15-Jan-09 20:04
professionalAbhijit Jana15-Jan-09 20:04 
QuestionGridview Pin
kushalrshah15-Jan-09 19:29
kushalrshah15-Jan-09 19:29 
AnswerRe: Gridview Pin
Abhijit Jana15-Jan-09 19:37
professionalAbhijit Jana15-Jan-09 19:37 
Questioni have problem in displaying hover dynamically Pin
Rahul Gharat15-Jan-09 18:28
Rahul Gharat15-Jan-09 18:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.