Click here to Skip to main content
15,913,854 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mycroft Holmes15-Oct-13 12:47
professionalMycroft Holmes15-Oct-13 12:47 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Christopher Duncan16-Oct-13 2:19
Christopher Duncan16-Oct-13 2:19 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
3n1g16-Oct-13 3:33
3n1g16-Oct-13 3:33 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Christopher Duncan16-Oct-13 3:41
Christopher Duncan16-Oct-13 3:41 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
IndifferentDisdain16-Oct-13 4:01
IndifferentDisdain16-Oct-13 4:01 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
jnlt16-Oct-13 4:38
jnlt16-Oct-13 4:38 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
IndifferentDisdain21-Oct-13 8:46
IndifferentDisdain21-Oct-13 8:46 
GeneralRe: Religious question - MVC benefits vs ASP.NET? PinPopular
L Viljoen15-Oct-13 12:48
professionalL Viljoen15-Oct-13 12:48 
My post from previous forum message:
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 kept me awake one night , projects running late has
2. MVC generates easy to read markup : not really relevant since your customers only really look at the interface not the code
("but but but. . . search engines" - trust me google can handle it.
3. Ability to create clean user friendly urls - The url rewrite method has been available since .net 2, and is infinitely flexible to anyone who knows their regular expressions


The goal of industry here is.
1.to have it done quickly
2.have it done at low cost
3.and to have to have it done right
(you can have only 2 of the 3)

now needless to say 3 quality is non negotiable and 2 is usually what sells software to a client .
but 1 does not help you if developers pulling a salary takes 3 months to develop software that brings in 1 month of profit
Chona1171
Web Developer (C#), Silverlight

GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mycroft Holmes15-Oct-13 17:01
professionalMycroft Holmes15-Oct-13 17:01 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
2374115-Oct-13 19:19
2374115-Oct-13 19:19 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mycroft Holmes15-Oct-13 19:30
professionalMycroft Holmes15-Oct-13 19:30 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
2374116-Oct-13 4:27
2374116-Oct-13 4:27 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mycroft Holmes16-Oct-13 12:57
professionalMycroft Holmes16-Oct-13 12:57 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
L Viljoen16-Oct-13 3:01
professionalL Viljoen16-Oct-13 3:01 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mark_Wallace15-Oct-13 21:29
Mark_Wallace15-Oct-13 21:29 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Christopher Duncan16-Oct-13 2:15
Christopher Duncan16-Oct-13 2:15 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mark_Wallace16-Oct-13 2:27
Mark_Wallace16-Oct-13 2:27 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Christopher Duncan16-Oct-13 2:30
Christopher Duncan16-Oct-13 2:30 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mark_Wallace16-Oct-13 3:01
Mark_Wallace16-Oct-13 3:01 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Christopher Duncan16-Oct-13 3:04
Christopher Duncan16-Oct-13 3:04 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Mark_Wallace16-Oct-13 3:09
Mark_Wallace16-Oct-13 3:09 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Christopher Duncan16-Oct-13 3:27
Christopher Duncan16-Oct-13 3:27 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
L Viljoen16-Oct-13 2:53
professionalL Viljoen16-Oct-13 2:53 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
Christopher Duncan16-Oct-13 2:17
Christopher Duncan16-Oct-13 2:17 
GeneralRe: Religious question - MVC benefits vs ASP.NET? Pin
L Viljoen16-Oct-13 2:58
professionalL Viljoen16-Oct-13 2:58 

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.