Click here to Skip to main content
15,897,187 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
GeneralRe: MVP implementation questions Pin
Nathan Gloyn16-Jan-09 9:41
Nathan Gloyn16-Jan-09 9:41 
ok here's the details:

The current application effecively has View and model but no presenter but the app does generally follow good OOP with SoC, Single Responsibility, Create don't use etc.

All business logic and db access is handled in the model which is in a seperate assembly and has been created as a domain model.

A fair amount of model information is accessed through properties which store their data in session (the model is closer to a desktop type app than a web app).

The code behind's of the pages mostly data bind to the properties exposed by the model although there is a lot of logic around controlling the UI (including a hack of the treeview to add a link to child nodes). Whilst ViewState is not disabled it is generally not used for storing of any particular stateful information.

One reason for the need to store the stateful information is that the application is generally driven by meta data so that when different clients access the application the app points to a different database and calls different stored procedures when working the data.

We use code from Phil Haack for simulating HttpSession to allow us to perform unit tests on the model, and we have fairly good coverage over the classes.

The application works well enough but it seems a good candidate for refactoring as its fairly simple but meaty enough to present a challenge.
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 
AnswerRe: i have problem in displaying hover dynamically Pin
Christian Graus25-Jan-09 0:42
protectorChristian Graus25-Jan-09 0:42 

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.