Model View Controller

{ ASP.NET
By Scott Crooks
& Maggie Wettergreen
Overview {
MVC{
Concept and Origin;
Execution Process;
Popular Frameworks;

};
ASP.NET MVC{
MVC vs. Web Forms;
Features;
M...
Fist Prototype of a Computer Mouse

Introduction of graphic
“views” in computing

Early Apple GUI

{ 1979

Formulated by N...
{

Separates representation
of information from user
interaction.
Promotes:
•
•

Code Reusability
Separation of Concerns

...
{

Code Reusability



Shortens development



{

Separation of Concerns

Code Libraries

Frameworks

Helps troubleshoot...
{

Controller – Mediates
input and commands for
the model or view

Model – Application
data, business
rules, logic, and fu...
Frameworks {
ASP.NET;

ASP.NET 4.0 Framework

PHP (Zend, Symfony, CakePHP, CodeIgniter);
Javascript ( Backbone.js, Ember.j...



Implements Model-View-Controller Paradigm
Integrates with Existing ASP.NET Features



Master Pages
Membership-Base...
{

MVC






Easier to Manage
Complexity
Does not use view state
or server based forms
Rich Routing Structure
Support...


Requests routed to Controller::Action





Action Methods
Action Results

RESTful

Controllers in ASP.NET MVC


Uses Entity Framework






Database Context




Database First
Model First
Code First
Describes interactions bet...


Razor








Compact, Expressive, and Fluid
Easy to Learn
Has great Intellisense

ASPX Engine
Dynamic or Strongl...





Scaffolding
Test Driven Development
Internationalization
Many More

Other Features



ASP.NET MVC Implementation
http://www.asp.net/mvc/tutorials/mvc-musicstore

MVC Music Store
Upcoming SlideShare
Loading in …5
×

Model viewcontrolle

487 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
487
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Model viewcontrolle

  1. 1. Model View Controller { ASP.NET By Scott Crooks & Maggie Wettergreen
  2. 2. Overview { MVC{ Concept and Origin; Execution Process; Popular Frameworks; }; ASP.NET MVC{ MVC vs. Web Forms; Features; Music Store; }; };
  3. 3. Fist Prototype of a Computer Mouse Introduction of graphic “views” in computing Early Apple GUI { 1979 Formulated by Norwegian computer scientist Trygve Reenskaug for Graphic User Interphase (GUI) software design, the MVC architecture was one of the primary outcomes of GUI development.
  4. 4. { Separates representation of information from user interaction. Promotes: • • Code Reusability Separation of Concerns Common 3-Tier Architecture Model Software Architecture Pattern
  5. 5. { Code Reusability  Shortens development  { Separation of Concerns Code Libraries Frameworks Helps troubleshooting by isolating issues  Allows for multiple teams to develop simultaneously Design Patterns  Improves code clarity and organization   
  6. 6. { Controller – Mediates input and commands for the model or view Model – Application data, business rules, logic, and functions. View – Output and representation of data Execution Process
  7. 7. Frameworks { ASP.NET; ASP.NET 4.0 Framework PHP (Zend, Symfony, CakePHP, CodeIgniter); Javascript ( Backbone.js, Ember.js, JavascriptMVC); }
  8. 8.   Implements Model-View-Controller Paradigm Integrates with Existing ASP.NET Features   Master Pages Membership-Based Authentication ASP.NET MVC
  9. 9. { MVC      Easier to Manage Complexity Does not use view state or server based forms Rich Routing Structure Support for Test-Driven Development Supports Large Teams Well Advantages { WebForms      Preservers State over HTTP Page Controller Pattern View state or server based forms Works well for small teams Development is less complex
  10. 10.  Requests routed to Controller::Action    Action Methods Action Results RESTful Controllers in ASP.NET MVC
  11. 11.  Uses Entity Framework     Database Context   Database First Model First Code First Describes interactions between entities Data Annotations  Describes additional requirements for the model Models
  12. 12.  Razor       Compact, Expressive, and Fluid Easy to Learn Has great Intellisense ASPX Engine Dynamic or Strongly Typed Partial Views Views
  13. 13.     Scaffolding Test Driven Development Internationalization Many More Other Features
  14. 14.   ASP.NET MVC Implementation http://www.asp.net/mvc/tutorials/mvc-musicstore MVC Music Store

×