Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Someone - Please sell me on MVC

Someone - Please sell me on MVC

Scheduled Pinned Locked Moved ASP.NET
asp-netcsharpcssalgorithmsarchitecture
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    L Viljoen
    wrote on last edited by
    #1

    On to an issue whether or not we should move to MVC development I have been debating this with my developers now for months. And some insist MVC is better though I just dont see it. What makes a programming methodology better for me ? Speed of development. Developer spending less time on interface and normal features and more time getting validation and business logic to be solid Code that is easy to understand by new developers taking on the project Structure that is easy to follow and you dont have to jump between mappings and target pages to check how they link Ability to create reusable controls Visual designer , so you dont have to repeatedly code something as mundane as a table. Scalability When working with MVC4 Razor Visual designer Gone ;( No Server Controls Hooking up an event is manually coded (instead of double clicking or hooking up an event Single controller multiple pages Bottom line is what is quicker , on asp.net I can drag a button on the exact spot i need it double click (3 seconds later) I have a button named and hooked up to an event without touching the keyboard. which the mvc guy is still busy typing his input tag , not to mention switching between the controller and the markup screens creating a event and a model. When i used a aspx grid , I get a nice linq data source hook it up to a grid, columns gets auto generated , meaning all i have to do is change the column headers , click that I want to enable sorting and paging , and I am done 2 minutes later. and if I have not too complex columns the add edit and delete features are created for me in one shot which can be configured for more complex scenarios's Now as an mvc developer doing the whole grid thing , everything has to be coded , I have to code my data queries (be it LINQ or SQL) to do the paging and sorting , 2 hours an insane amount of typing and script later I have something that kinda does the same thing but looks butt ugly. I guess an expereinced MVC dev can do it in probably 10 mintes flat My Recommendation, MVC is ok for cases with little complexity and smaller size projects, but when you need to deliver something of great scale and complexity you are shooting yourself in the foot as you will still be coding interface logic when a asp.net dev is long done with the project. Also just in case you wondering I know 1 MVC does not have viewstate : good practiice minimises viewstate/ you can also hide your viewstate in session using very basic code, also viewstate has never

    Kornfeld Eliyahu PeterK 1 Reply Last reply
    0
    • L L Viljoen

      On to an issue whether or not we should move to MVC development I have been debating this with my developers now for months. And some insist MVC is better though I just dont see it. What makes a programming methodology better for me ? Speed of development. Developer spending less time on interface and normal features and more time getting validation and business logic to be solid Code that is easy to understand by new developers taking on the project Structure that is easy to follow and you dont have to jump between mappings and target pages to check how they link Ability to create reusable controls Visual designer , so you dont have to repeatedly code something as mundane as a table. Scalability When working with MVC4 Razor Visual designer Gone ;( No Server Controls Hooking up an event is manually coded (instead of double clicking or hooking up an event Single controller multiple pages Bottom line is what is quicker , on asp.net I can drag a button on the exact spot i need it double click (3 seconds later) I have a button named and hooked up to an event without touching the keyboard. which the mvc guy is still busy typing his input tag , not to mention switching between the controller and the markup screens creating a event and a model. When i used a aspx grid , I get a nice linq data source hook it up to a grid, columns gets auto generated , meaning all i have to do is change the column headers , click that I want to enable sorting and paging , and I am done 2 minutes later. and if I have not too complex columns the add edit and delete features are created for me in one shot which can be configured for more complex scenarios's Now as an mvc developer doing the whole grid thing , everything has to be coded , I have to code my data queries (be it LINQ or SQL) to do the paging and sorting , 2 hours an insane amount of typing and script later I have something that kinda does the same thing but looks butt ugly. I guess an expereinced MVC dev can do it in probably 10 mintes flat My Recommendation, MVC is ok for cases with little complexity and smaller size projects, but when you need to deliver something of great scale and complexity you are shooting yourself in the foot as you will still be coding interface logic when a asp.net dev is long done with the project. Also just in case you wondering I know 1 MVC does not have viewstate : good practiice minimises viewstate/ you can also hide your viewstate in session using very basic code, also viewstate has never

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      It isn't. The Microsoft implementation of MVC is far (even version 4) from being satisfactory to me too. I'm working on a large enterprise app and before each major version we check what new tools/environments we should use/incorporate. MVC (not the architecture) failed with large noise... I worked with COBOL with the idea of separated layers, but never imagined that 20 years later it will means no code-reuse... I found MVC good only for very small size apps...

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      L 1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        It isn't. The Microsoft implementation of MVC is far (even version 4) from being satisfactory to me too. I'm working on a large enterprise app and before each major version we check what new tools/environments we should use/incorporate. MVC (not the architecture) failed with large noise... I worked with COBOL with the idea of separated layers, but never imagined that 20 years later it will means no code-reuse... I found MVC good only for very small size apps...

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

        L Offline
        L Offline
        L Viljoen
        wrote on last edited by
        #3

        Look there are things i like about it , but give it about 2-3 more releases before they have something a bit more commercially viable

        Chona1171 Web Developer (C#), Silverlight

        Kornfeld Eliyahu PeterK 1 Reply Last reply
        0
        • L L Viljoen

          Look there are things i like about it , but give it about 2-3 more releases before they have something a bit more commercially viable

          Chona1171 Web Developer (C#), Silverlight

          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu Peter
          wrote on last edited by
          #4

          2-3 more? after MVC5 of before? It makes if 7-8 releases!!!

          I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

          J 1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            2-3 more? after MVC5 of before? It makes if 7-8 releases!!!

            I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

            J Offline
            J Offline
            Joao Marcio Prado
            wrote on last edited by
            #5

            Never read so much nonsense about MVC framework as I read here. Do you know Stack Overflow? It was written using MVC. Visual Designer? Well, I don't get where it fits on webdesigner/webdevelopment. If you don't know nothing about HTTP and the flow of request/response go with webforms and suffer, suffer a hell in mantainance. You don't like patterns and practices? Go with webforms. MVC is a robust and well known architectural way to build webapps. It shares it concept from the Ruby On Rails. MVC allows low cost mantainance even if the start of the project costs a (little) bit more. Webforms are good for RAD, and IMHO just for that. If you want to build flexible, robust, low mantainance cost webapps despite the complexity of then you will for sure choose MVC.

            Kornfeld Eliyahu PeterK 1 Reply Last reply
            0
            • J Joao Marcio Prado

              Never read so much nonsense about MVC framework as I read here. Do you know Stack Overflow? It was written using MVC. Visual Designer? Well, I don't get where it fits on webdesigner/webdevelopment. If you don't know nothing about HTTP and the flow of request/response go with webforms and suffer, suffer a hell in mantainance. You don't like patterns and practices? Go with webforms. MVC is a robust and well known architectural way to build webapps. It shares it concept from the Ruby On Rails. MVC allows low cost mantainance even if the start of the project costs a (little) bit more. Webforms are good for RAD, and IMHO just for that. If you want to build flexible, robust, low mantainance cost webapps despite the complexity of then you will for sure choose MVC.

              Kornfeld Eliyahu PeterK Offline
              Kornfeld Eliyahu PeterK Offline
              Kornfeld Eliyahu Peter
              wrote on last edited by
              #6

              MVC is robust, and well known. The Microsoft implementation isn't - not even close!!! (I tell you a secret - I wrote according MVC 25 years ago in COBOL. No web then!)

              I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

              "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups