Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Why Use MVC?


Published on

Shows why good developers use the Model View Controller (MVC) pattern when developing. Example code at

Published in: Technology
  • Be the first to comment

Why Use MVC?

  1. 1. Model View Controller MVC - Model View Controller
  2. 2. What Is MVC? ● Controller – Logic or Glue ● View – Presentation and Interaction ● Model – Data Representation
  3. 3. Benefits of MVC ● Reduce Code Complexity ● Code Reuse – Well factored code lends itself to reuse ● Increased Flexibility ● Decoupled Code – Fewer depedencies
  4. 4. Benefits of MVC Example ● Progression of a Project – How it can use MVC ● Contrived Example – Non-MVC and MVC Examples – Hello World – Adding a GUI – Adding More Interaction