Why Use MVC?

18,071 views

Published on

Shows why good developers use the Model View Controller (MVC) pattern when developing. Example code at http://resume.jesse-anderson.com/mvc_why.zip.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
18,071
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

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

×