01 overview
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

01 overview

on

  • 374 views

 

Statistics

Views

Total Views
374
Views on SlideShare
374
Embed Views
0

Actions

Likes
0
Downloads
12
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

01 overview Presentation Transcript

  • 1. ASP.NET MVCOverview
  • 2. The MVC Pattern›  Invented by a Smalltalk programmer in 1979›  Not a framework. It is an architectural pattern.›  Not exclusive to ASP.NET.›  Martin Fowler, Patterns of Enterprise Application Architecture (2003), 331. ›  As I think about MVC I see two principal separations: separating the presentation from the model and separating the controller from the view. ›  Of these the separation of presentation from model is one of the most fundamental heuristics of good software design...
  • 3. Thestack
  • 4. Primary goals of ASP.NET MVC›  Higher degree of testability than WebForms›  Make it easier for developers to control their HTML›  Separation of concerns›  A return to the metaphor of the web. - Like event handlers. Theyre really frontends for a get/post activity. MVC goes back to how the web works (get/post)›  Extensibility - Can change the way that the view itself works. MVC makes it easy
  • 5. Disadvantages of MVC›  No Viewstate›  Have to know HTML and the web achitecture›  No designer›  Lots of magic strings›  More work to do certain things
  • 6. War stories?
  • 7. Conclusion›  ASP.NET MVC is a way to create dynamic web pages›  It is an alternative to ASP.NET Webforms›  MVC is harder to learn and harder to use than WebForms›  But MVC creates a more robust, scalable, maintainable and testable site›  The idea of MVC is all about separation of concerns