Click here to Skip to main content
15,895,815 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
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 
AnswerRe: I seek help defining a SCRUM structure for an application I am working on. Pin
Jonathan Davies17-Jun-13 23:09
Jonathan Davies17-Jun-13 23:09 
AnswerRe: I seek help defining a SCRUM structure for an application I am working on. Pin
Keld Ølykke27-Jun-13 5:48
Keld Ølykke27-Jun-13 5:48 
QuestionMVVM architecture for a Hardware based application Pin
Praveen Raghuvanshi13-Jun-13 4:47
professionalPraveen Raghuvanshi13-Jun-13 4:47 
AnswerRe: MVVM architecture for a Hardware based application Pin
jschell13-Jun-13 8:53
jschell13-Jun-13 8:53 
AnswerRe: MVVM architecture for a Hardware based application Pin
dusty_dex13-Jun-13 8:55
dusty_dex13-Jun-13 8:55 
AnswerRe: MVVM architecture for a Hardware based application Pin
Jonathan Davies14-Jun-13 3:00
Jonathan Davies14-Jun-13 3:00 
GeneralRe: MVVM architecture for a Hardware based application Pin
Praveen Raghuvanshi17-Jun-13 1:28
professionalPraveen Raghuvanshi17-Jun-13 1:28 
QuestionSoftware Design Books Pin
msr_codeproject13-Jun-13 2:43
msr_codeproject13-Jun-13 2:43 
AnswerRe: Software Design Books Pin
Amarnath S13-Jun-13 17:38
professionalAmarnath S13-Jun-13 17:38 
GeneralRe: Software Design Books Pin
msr_codeproject13-Jun-13 23:47
msr_codeproject13-Jun-13 23:47 
QuestionQUERY FOR ALL vs QUERY FOR EACH Pin
Paulo S X Soares5-Jun-13 4:13
Paulo S X Soares5-Jun-13 4:13 
AnswerRe: QUERY FOR ALL vs QUERY FOR EACH Pin
Bernhard Hiller5-Jun-13 21:16
Bernhard Hiller5-Jun-13 21:16 
GeneralRe: QUERY FOR ALL vs QUERY FOR EACH Pin
Paulo S X Soares6-Jun-13 2:50
Paulo S X Soares6-Jun-13 2:50 
GeneralRe: QUERY FOR ALL vs QUERY FOR EACH Pin
Eddy Vluggen6-Jun-13 2:54
professionalEddy Vluggen6-Jun-13 2:54 

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.