<p>I found <a href="https://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference">What are mvp and mvc and what is the difference</a> but it didn't really answer this question.</p>

<p>I've recently started using MVC because it's part of the framework that myself and my work-partner are going to use. We chose it because it looked easy and separated process from display, are there advantages besides this that we don't know about and could be missing out on?</p>

<p><strong>Pros</strong></p>

<ol>
<li>Display and Processing are seperated</li>
</ol>

<p><br />
<strong>Cons</strong></p>

<ol>
<li>None so far</li>
</ol>

[{'answer_id': 26693, 'author': 'Sören Kuklau', 'author_id': 1600, 'author_profile': 'https://Stackoverflow.com/users/1600', 'pm_score': 7, 'selected': True, 'text': "<p>MVC is the separation of <b>m</b>odel, <b>v</b>iew and <b>c</b>ontroller — nothing more, nothing less. It's simply a paradigm; an ideal that you should have in the back of your mind when designing classes. Avoid mixing code from the three categories into one class.</p>\n\n<p>For example, while a table grid <em>view</em> should obviously present data once shown, it should not have code on where to retrieve the data from, or what its native structure (the <em>model</em>) is like. Likewise, while it may have a function to sum up a column, the actual summing is supposed to happen in the <em>controller</em>.</p>\n\n<p>A 'save file' dialog (<em>view</em>) ultimately passes the path, once picked by the user, on to the <em>controller</em>, which then asks the <em>model</em> for the data, and does the actual saving.</p>\n\n<p>This separation of responsibilities allows flexibility down the road. For example, because the view doesn't care about the underlying model, supporting multiple file formats is easier: just add a model subclass for each.</p>\n"}, {'answer_id': 26694, 'author': 'OysterD', 'author_id': 2638, 'author_profile': 'https://Stackoverflow.com/users/2638', 'pm_score': 3, 'selected': False, 'text': '<p>Jeff has a <a href="http://www.codinghorror.com/blog/archives/001112.html" rel="noreferrer">post</a> about it, otherwise I found some useful documents on Apple\'s website, in Cocoa tutorials (<a href="http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaDesignPatterns/chapter_5_section_4.html" rel="noreferrer">this one</a> for example).</p>\n'}, {'answer_id': 26872, 'author': 'Quibblesome', 'author_id': 1143, 'author_profile': 'https://Stackoverflow.com/users/1143', 'pm_score': 4, 'selected': False, 'text': '<p>Separation of concerns is the biggy.</p>\n\n<p>Being able to tease these components apart makes the code easier to re-use and independently test. If you don\'t actually know what MVC is, be careful about trying to understand people\'s opinions as there is still some contention about what the "Model" is (whether it is the business objects/DataSets/DataTables or if it represents the underlying service layer).</p>\n\n<p>I\'ve seen all sorts of implementations that call themselves MVC but aren\'t exactly and as the comments in <a href="http://www.codinghorror.com/blog/archives/001112.html" rel="noreferrer">Jeff\'s article</a> show MVC is a contentious point that I don\'t think developers will ever fully agree upon. </p>\n\n<p>A good round up of all of the different MVC types is available <a href="http://aspiringcraftsman.com/2007/08/25/interactive-application-architecture/" rel="noreferrer">here</a>.</p>\n'}, {'answer_id': 26873, 'author': 'Rob Cooper', 'author_id': 832, 'author_profile': 'https://Stackoverflow.com/users/832', 'pm_score': 2, 'selected': False, 'text': '<p>I think another benefit of using the MVC pattern is that it opens up the doors to other <em>approaches</em> to the design, such as MVP/Presenter first and the many other MV* patterns.</p>\n<p>Without this fundamental segregation of the design &quot;components&quot; the adoption of these techniques would be much more difficult.</p>\n<p>I think it helps to make your code even more interface-based.. Not only within the individual project, but you can almost start to develop common &quot;views&quot; which mean you can template lot more of the &quot;grunt&quot; code used in your applications. For example, a very abstract &quot;data view&quot; which simply takes a bunch of data and throws it to a common grid layout.</p>\n<h3>Edit:</h3>\n<p>If I remember correctly, <a href="http://www.polymorphicpodcast.com/shows/mv-patterns/" rel="nofollow noreferrer">this is a pretty good podcast on MV* patterns</a> (listened to it a while ago!)</p>\n'}, {'answer_id': 26880, 'author': 'Chris Blackwell', 'author_id': 1329401, 'author_profile': 'https://Stackoverflow.com/users/1329401', 'pm_score': 1, 'selected': False, 'text': '<p>One con I can think of is if you need really fast access to your data in your view (for example, game animation data like bone positions.) It is very inefficient to keep a layer of separation in this case.</p>\n\n<p>Otherwise, for most other applications which are more data driven than graphics driven, it seems like a logical way to drive a UI.</p>\n'}, {'answer_id': 27322, 'author': 'Georgia', 'author_id': 2923, 'author_profile': 'https://Stackoverflow.com/users/2923', 'pm_score': 1, 'selected': False, 'text': '<p>If you follow the stackoverflow podcasts you can hear Jeff (and Geoff?) discuss its greatness.  <a href="https://blog.stackoverflow.com/2008/08/podcast-17/">https://blog.stackoverflow.com/2008/08/podcast-17/</a>.  But remember that using these separate layers means things are easier in the future--and harder now.  And layers <em>can</em> make things slower.  And you may not need them.  But don\'t let that stop you from learning what it is--when building big, robust, long-lived systems, it\'s invaluable.</p>\n'}, {'answer_id': 2580435, 'author': 'Kiruba', 'author_id': 309437, 'author_profile': 'https://Stackoverflow.com/users/309437', 'pm_score': 1, 'selected': False, 'text': '<p>It separates Model and View controlled by a Controller, \nAs far as Model is concerned, Your Models has to follow OO architecture, future enhancements and other maintenance of the code base should be very easy and the code base should be reusable.</p>\n\n<p>Same model can have any no.of views e.g) same info can be shown in as different graphical views.\nSame view can have different no.of models e.g) different detailed can be shown as a single graph say as a bar graph.\nThis is what is re-usability of both View and Model.</p>\n\n<p>Enhancements in views and other support of new technologies for building the view can be implemented easily.</p>\n\n<p>Guy who is working on view dose not need to know about the underlying Model code base and its architecture, vise versa for the model.</p>\n'}, {'answer_id': 24533836, 'author': 'Mdhar9e', 'author_id': 1018075, 'author_profile': 'https://Stackoverflow.com/users/1018075', 'pm_score': 0, 'selected': False, 'text': '<p>Main advantage of MVC architecture is differentiating the layers of a project in Model,View and Controller for the Re-usability of code, easy to maintain code and maintenance. The best thing is the developer feels good to add some code in between the project maintenance. </p>\n\n<p>Here you can see the some more points on <a href="http://javabynataraj.blogspot.in/2009/05/14-advantages-of-mvc-arch.html" rel="nofollow">Main Advantages of MVC Architecture</a>.</p>\n'}, {'answer_id': 24778614, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>![mvc architecture][1]</p>\n\n<p>Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user.</p>\n'}, {'answer_id': 32643282, 'author': 'Kanapolis', 'author_id': 4530000, 'author_profile': 'https://Stackoverflow.com/users/4530000', 'pm_score': 2, 'selected': False, 'text': '<p>MVC is just a general design pattern that, in the context of lean web app development, makes it easy for the developer to keep the HTML markup in an app’s presentation layer (the view) separate from the methods that receive and handle client requests (the controllers) and the data representations that are returned within the view (the models). It’s all about separation of concerns, that is, keeping code that serves one functional purpose (e.g. handling client requests) sequestered from code that serves an entirely different functional purpose (e.g. representing data).</p>\n\n<p>It’s the same principle for why anybody who’s spent more than 5 min trying to build a website can appreciate the need to keep your HTML markup, JavaScript, and CSS in separate files: If you just dump all of your code into a single file, you end up with spaghetti that’s virtually un-editable later on.</p>\n\n<p><strong>Since you asked for possible "cons":</strong> I’m no authority on software architecture design, but based on my experience developing in MVC, I think it’s also important to point out that following a strict, no-frills MVC design pattern is most useful for 1) lightweight web apps, or 2) as the UI layer of a larger enterprise app. I’m surprised this specification isn’t  talked about more, because MVC contains no explicit definitions for your business logic, domain models, or really anything in the data access layer of your app. When I started developing in ASP.NET MVC (i.e. before I knew other software architectures even existed), I would end up with very bloated controllers or even view models chock full of business logic that, had I been working on enterprise applications, would have made it difficult for other devs who were unfamiliar with my code to modify (i.e. more spaghetti).</p>\n'}, {'answer_id': 35026778, 'author': 'Amir Chatrbahr', 'author_id': 922713, 'author_profile': 'https://Stackoverflow.com/users/922713', 'pm_score': 1, 'selected': False, 'text': '<p>One of the major advantages of MVC which has not mentioned here is that MVC provides RESTful urls which enables SEO. When you name your Controllers and Actions wisely, it makes it easier for search engines to find your site if they only take a look at your site Urls. For example you have a car sale website and a page which displays available Lamborghini Veneno cars, instead of having <em>www.MyCarSale.com/product/6548</em> referring to the page you can choose <em>www.MyCarSale.com/SportCar/Lamborghini-Veneno</em> url for SEO purpose.</p>\n\n<p><a href="https://stackoverflow.com/a/114186/922713">Here</a> is a good answer to MVC Advantages and <a href="http://webdesign.tutsplus.com/articles/how-to-create-an-seo-friendly-url-structure--webdesign-9569" rel="nofollow noreferrer">here</a> is an article How to create a SEO friendly Url.</p>\n'}]
['https://Stackoverflow.com/questions/26685', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1384652/']