Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5993869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:44:13+00:00 2026-05-22T23:44:13+00:00

I am currently redesigning a piece of software from an aspx application, to support

  • 0

I am currently redesigning a piece of software from an aspx application, to support winforms as well, and by doing this I am implementing the MVP pattern to easier handle further development and make it easier to maintain two versions of the same application.

But this the first time I am implementing this pattern, so a couple of questions manifest themselves.

  1. Since this application has several pages/forms, should I have one presenter per view (one view = one aspx file)? I am guessing yes to make is easier to maintain and to keep the IView interfaces tidyer.

  2. What is the ‘standard’ detail I should write the IView at? ie. To test this I am writing the RegisterUser.aspx view, and there are some controls I want to disable at certain times, should I have a generic ‘void DisableControl(string name); void EnableControl(string name);‘ or a more specialized ‘void DisablePasswordControl(); void EnablePasswordControl();‘?

I can see pros and cons to both approaches, so I thought I should at least ask before I make any bad habits here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:44:14+00:00Added an answer on May 22, 2026 at 11:44 pm

    For point 1 it should be 1 presenter per view, unless you have a very similar presenter which would use an identical view.

    For point 2, you should have this as just either the void DisableControl(string name) although this isn’t too necessary as it can all be handled within your aspx.cs part of the page. It depends what and when you are hiding the control.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on redesigning an application which is building a model from input
Currently I'm doing some unit tests which are executed from bash. Unit tests are
We're currently developing a new piece of hand-held software. I cant discuss the nature
I'm currently redesigning a old application of mine. I'm unsure in which form to
I've been tasked with redesigning part of a ms-sql database structure which currently involves
Currently I am debugging the signing of an Android app. And this would be
Our team is currently working on completely redesigning our school's website and one of
Second question in two days on this same sort of topic. I currently am
I am currently re-designing an application and stumbled upon a problem serializing some data.
Currently I am borrowing java.math.BigInteger from the J# libraries as described here . Having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.