Click here to Skip to main content
16,005,734 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionMoving away from Microsoft eCommerce Server tool Pin
vkEE2-Aug-13 7:04
vkEE2-Aug-13 7:04 
AnswerRe: Moving away from Microsoft eCommerce Server tool Pin
jschell2-Aug-13 14:27
jschell2-Aug-13 14:27 
QuestionBPMN question Pin
yousefshokati1-Jul-13 21:54
yousefshokati1-Jul-13 21:54 
QuestionTesting Question Pin
AnalogNerd28-Jun-13 3:04
AnalogNerd28-Jun-13 3:04 
AnswerRe: Testing Question Pin
Pete O'Hanlon28-Jun-13 3:52
mvePete O'Hanlon28-Jun-13 3:52 
GeneralRe: Testing Question Pin
AnalogNerd28-Jun-13 4:09
AnalogNerd28-Jun-13 4:09 
AnswerRe: Testing Question Pin
Bernhard Hiller1-Jul-13 0:40
Bernhard Hiller1-Jul-13 0:40 
AnswerRe: Testing Question Pin
Keld Ølykke13-Jul-13 1:32
Keld Ølykke13-Jul-13 1:32 
QuestionDesign of complex decission modules Pin
Kreatief27-Jun-13 21:15
Kreatief27-Jun-13 21:15 
AnswerRe: Design of complex decission modules Pin
Bernhard Hiller1-Jul-13 0:47
Bernhard Hiller1-Jul-13 0:47 
Questionconcurrent object oriented system Pin
N_cooL26-Jun-13 21:54
N_cooL26-Jun-13 21:54 
AnswerRe: concurrent object oriented system Pin
Richard MacCutchan26-Jun-13 22:27
mveRichard MacCutchan26-Jun-13 22:27 
GeneralRe: concurrent object oriented system Pin
N_cooL26-Jun-13 22:36
N_cooL26-Jun-13 22:36 
GeneralRe: concurrent object oriented system Pin
Eddy Vluggen26-Jun-13 22:39
professionalEddy Vluggen26-Jun-13 22:39 
AnswerRe: concurrent object oriented system Pin
Eddy Vluggen26-Jun-13 22:37
professionalEddy Vluggen26-Jun-13 22:37 
QuestionLatency in display images Pin
vkEE19-Jun-13 7:53
vkEE19-Jun-13 7:53 
AnswerRe: Latency in display images Pin
Bernhard Hiller19-Jun-13 20:49
Bernhard Hiller19-Jun-13 20:49 
AnswerRe: Latency in display images Pin
José Amílcar Casimiro24-Jun-13 2:33
José Amílcar Casimiro24-Jun-13 2:33 
AnswerRe: Latency in display images Pin
Marco Bertschi25-Jun-13 23:07
protectorMarco Bertschi25-Jun-13 23:07 
QuestionWhy MVC Pin
KK Kod16-Jun-13 21:51
KK Kod16-Jun-13 21:51 
AnswerRe: Why MVC Pin
Richard MacCutchan16-Jun-13 23:21
mveRichard MacCutchan16-Jun-13 23:21 
AnswerRe: Why MVC Pin
Keith Barrow17-Jun-13 0:04
professionalKeith Barrow17-Jun-13 0:04 
K K Kodoth wrote:
Ive asked the same question to many architects but every body giving different different answers could any body tell me why this MVC,what is its advantage

You'll get as many answers as you'll get answerers Smile | :) .
Richard's answer (above) is correct. MVC provides good separation of concerns, this is generally true where the MVC pattern is applicable.

But I'd like to add to Richard's answer. You need to look at ASP.Net forms applications. This was an attempt to coerce Winforms style programming onto web applications. Obviously this was reasonably successful (evidence: all the asp.net apps out there). It does however have drawbacks. The UI side of things is effectively hard to unit test (MVC is easy as there is no code-behind). ASP.NET forms "fights" the way the web works, it tries as far as possible to hide the request/response cycle from the dev, this can result in hiding the reality this model from the unwary (e.g. relative lack of awareness of the need to protect against values being hacked on the wire from submitted forms) and leads to relatively clunky code. Viewstate is another bugbear: it is there to support the forms mechanism by storing previous values etc, but it can get quite large if not managed properly. By contrast, ASP.NET MVC works with the web standards more closley e.g. values are no longer taken from winform-style elements but are just html form values and we can write handlers for the various HTTP request types on a particular path, working with the web. Other factors in asp.net MVC's favour is the razor syntax which is very clean and total control over the HTML created (you actually had this in ASP.NET form, but you had to work for it).

ASP.NET MVC does have drawback: the coding by convention does seem like magic sometimes (e.g. how form values are unpacked into the signature of the handling controller method). Additionally routing etc can be complex, but the consensus seems to be these are small losses for large gains.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed”
“One of the greatest problems of our time is that many are schooled but few are educated”


Sir Thomas More (1478 – 1535)

GeneralRe: Why MVC Pin
KK Kod17-Jun-13 0:54
KK Kod17-Jun-13 0:54 
GeneralRe: Why MVC Pin
Keith Barrow17-Jun-13 1:27
professionalKeith Barrow17-Jun-13 1:27 
QuestionI seek help defining a SCRUM structure for an application I am working on. Pin
Brady Kelly16-Jun-13 21:41
Brady Kelly16-Jun-13 21:41 

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.