MVC design pattren help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kinannawaz
    New Member
    • Dec 2007
    • 20

    MVC design pattren help

    I am implementing a project using mvc design pattren in c sharp.

    I am making a desktop application not web application using c sharp

    I have searched a lot on the web about mvc.

    I have made a model class , a controller class for each view class (Form) i.e if i have 3 forms in my project then i have 3 model class and 3 controller class. one for each form?

    I HEARD from a friend that there will be only one controller class and one model class in whole project that will interact with every form (view)?


    QUESTION?
    which of the above scenario is correct?

    thank you.
    kinnan
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Hello kinannawaz!
    As you're not absolutely new to bytes.com, I'm sure you know, that the "Member Introductions" Forum isn't the place for a .NET question, don't you? I guess, you just made a mistake.

    Greetings,
    Nepomuk

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      In model view controller, there is 1 model, 1 controller and as many views as you want

      Comment

      Working...