MVC

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alisa

    MVC

    Hi, I am reading a lot about MVC pattern and I wonder - are there any
    known programs that were developed and do not implement MVC?
    I thought Outlook is one becuase the item object is not seperated from
    it's UI/ form - but I am not sure...
    Does any one have a stronger example?
    Thanks,
    Alisa

  • Gabriel Lozano-Morán

    #2
    Re: MVC

    A good GUI design will always use the MVC pattern where you seperate the
    view of a class/model from the class itself. It is not because you don't see
    several different views of an Outlook item that Outlook does not use the MVC
    pattern.

    When creating a Winforms or Web application you use the MVC pattern, maybe
    even without knowing it. You create GUI elements (VIEW) and hook to the
    events and in these event you write logic (CONTROLLER) that changes the data
    of classes (MODEL).

    Gabriel Lozano-Morán


    "Alisa" <inbal.zilberma n@sap.com> wrote in message
    news:1134989814 .850090.303990@ g44g2000cwa.goo glegroups.com.. .[color=blue]
    > Hi, I am reading a lot about MVC pattern and I wonder - are there any
    > known programs that were developed and do not implement MVC?
    > I thought Outlook is one becuase the item object is not seperated from
    > it's UI/ form - but I am not sure...
    > Does any one have a stronger example?
    > Thanks,
    > Alisa
    >[/color]


    Comment

    • Mahesh Devjibhai Dhola [MVP]

      #3
      Re: MVC

      Hi,
      IMHO, .Net technologies have own implementation way of MVC so can't say that
      exactly MVC is implemented but....
      ASP.NET has View[aspx or aspx.cs or aspx.vb] and Controller [aspx.cs or
      aspx.vb] and Model is not hard coded visual thing but whatever data model is
      used, you can consider as MODEL.
      Same way, in WinForms.

      Basically,
      View is UI and related classes,
      Controller: Controlling classes which interected by UI for any event
      handling or for any other custom actions[e.g event handling in Asp.Net and
      Windows forms]
      Model: A object representation of your Data

      You must be using all these things even you dont know sometimes, partially
      or fully.....

      If you dont follow the MVC architecture exactly then also it will be there
      partially always. so it depends on the appliction design that how it is
      implemented.

      Also, MVC is not a pattern in fact, its an architecture which is built using
      4-5 design patterns like Observer, Composite etc.

      It helps you to make your application more extensible, and manageable by
      implementing these patterns.

      "Alisa" <inbal.zilberma n@sap.com> wrote in message
      news:1134989814 .850090.303990@ g44g2000cwa.goo glegroups.com.. .[color=blue]
      > Hi, I am reading a lot about MVC pattern and I wonder - are there any
      > known programs that were developed and do not implement MVC?
      > I thought Outlook is one becuase the item object is not seperated from
      > it's UI/ form - but I am not sure...
      > Does any one have a stronger example?
      > Thanks,
      > Alisa
      >[/color]


      Comment

      • Alisa

        #4
        Re: MVC

        Hi Gabriel,
        Thanks for the quick answer.
        I need an opisite examle for mvc - do you have one?

        Comment

        • Gabriel Lozano-Morán

          #5
          Re: MVC

          The command prompt might be an example :)

          Gabriel

          "Alisa" <inbal.zilberma n@sap.com> wrote in message
          news:1135006500 .597222.258070@ f14g2000cwb.goo glegroups.com.. .[color=blue]
          > Hi Gabriel,
          > Thanks for the quick answer.
          > I need an opisite examle for mvc - do you have one?
          >[/color]


          Comment

          • Bob Powell [MVP]

            #6
            Re: MVC

            There are many awful programs that should implement simple patterns and do
            not. There are also many that implement the pattern almost by accident.

            Many Windows Forms applications use databinding. This is an implementation
            of MVC that happens under the covers.

            MVC is such a simple pattern that it's almost trivial to implement in a
            forms application.

            --
            Bob Powell [MVP]
            Visual C#, System.Drawing

            Ramuseco Limited .NET consulting


            Find great Windows Forms articles in Windows Forms Tips and Tricks


            Answer those GDI+ questions with the GDI+ FAQ


            All new articles provide code in C# and VB.NET.
            Subscribe to the RSS feeds provided and never miss a new article.





            "Alisa" <inbal.zilberma n@sap.com> wrote in message
            news:1134989814 .850090.303990@ g44g2000cwa.goo glegroups.com.. .[color=blue]
            > Hi, I am reading a lot about MVC pattern and I wonder - are there any
            > known programs that were developed and do not implement MVC?
            > I thought Outlook is one becuase the item object is not seperated from
            > it's UI/ form - but I am not sure...
            > Does any one have a stronger example?
            > Thanks,
            > Alisa
            >[/color]


            Comment

            • kids_pro

              #7
              Re: MVC

              take a look at www.springframework.net even I am still not sure how to
              use it but they mention about MVC.

              Bob Powell [MVP] wrote:[color=blue]
              > There are many awful programs that should implement simple patterns and do
              > not. There are also many that implement the pattern almost by accident.
              >
              > Many Windows Forms applications use databinding. This is an implementation
              > of MVC that happens under the covers.
              >
              > MVC is such a simple pattern that it's almost trivial to implement in a
              > forms application.
              >[/color]

              Comment

              • Mahesh Devjibhai Dhola [MVP]

                #8
                Re: MVC

                Hi,
                IMHO, .Net technologies have own implementation way of MVC so can't say that
                exactly MVC is implemented but....
                ASP.NET has View[aspx or aspx.cs or aspx.vb] and Controller [aspx.cs or
                aspx.vb] and Model is not hard coded visual thing but whatever data model is
                used, you can consider as MODEL.
                Same way, in WinForms.

                Basically,
                View is UI and related classes,
                Controller: Controlling classes which interected by UI for any event
                handling or for any other custom actions[e.g event handling in Asp.Net and
                Windows forms]
                Model: A object representation of your Data

                You must be using all these things even you dont know sometimes, partially
                or fully.....

                If you dont follow the MVC architecture exactly then also it will be there
                partially always. so it depends on the appliction design that how it is
                implemented.

                Also, MVC is not a pattern in fact, its an architecture which is built using
                4-5 design patterns like Observer, Composite etc.

                It helps you to make your application more extensible, and manageable by
                implementing these patterns.

                HTH,
                "Alisa" <inbal.zilberma n@sap.com> wrote in message
                news:1134989814 .850090.303990@ g44g2000cwa.goo glegroups.com.. .[color=blue]
                > Hi, I am reading a lot about MVC pattern and I wonder - are there any
                > known programs that were developed and do not implement MVC?
                > I thought Outlook is one becuase the item object is not seperated from
                > it's UI/ form - but I am not sure...
                > Does any one have a stronger example?
                > Thanks,
                > Alisa
                >[/color]


                Comment

                • Venkat_KL

                  #9
                  Re: MVC

                  Hi Dear Alisa,

                  You want an example of Big Company Products? or any other will do?

                  Normally, All the VB6.0 Application where it was not supporting full
                  Object Orient Programming, you can see several custom build application
                  where View and Controller would be clubed.

                  Bye
                  Venkat_KL

                  For Anything and Everything, Please Let Me Know

                  --
                  Sent via .NET Newsgroups

                  Comment

                  Working...