• Like
01 overview
Upcoming SlideShare
Loading in...5
×

01 overview

  • 200 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
200
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
12
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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