Urine for a Treat (or: ASP.NET MVC)

3,367 views
3,203 views

Published on

The "ASP.NET MVC" presentation done by Barry Gervin and Joey deVilla for Stack Overflow DevDays Toronto on Friday, October 23rd, 2009.

Published in: Technology
1 Comment
1 Like
Statistics
Notes
  • ??? Name is sooo misleading/disgusting?? why so?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
3,367
On SlideShare
0
From Embeds
0
Number of Embeds
346
Actions
Shares
0
Downloads
18
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Urine for a Treat (or: ASP.NET MVC)

  1. 1. Urine for a Treat(or: ASP.NET MVC)<br />Barry Gervin, ObjectSharp<br />and<br />Joey deVilla, Microsoft<br />
  2. 2.
  3. 3.
  4. 4. First came ASP…<br />
  5. 5.
  6. 6. …then cameASP.NET…<br />
  7. 7.
  8. 8. …and now,ASP.NET MVC<br />
  9. 9.
  10. 10. Model-View-Controller<br />
  11. 11. ASP.NET MVC’s MVC<br />Controller<br />Handles input<br />(HTTP requests)<br />Controller<br />Request<br />Model<br />Does the thinkin’and persistence<br />View<br />Response<br />View<br />Visually represents<br />the model<br />
  12. 12. Routing<br />
  13. 13. mysite.com/object/action/parameter<br />
  14. 14. ConventionOverConfiguration<br />
  15. 15.
  16. 16.
  17. 17. Testability<br />
  18. 18. Master of Your Domain<br />
  19. 19. ASP.NETtyGoodnessBaked Right In<br />
  20. 20. ASP.NET Runtime<br />ASP.NET MVC<br />
  21. 21.
  22. 22. Microsoft.com/web<br />
  23. 23. Web Platform Installer<br />
  24. 24. RunPee.com (Yes, it’s a real site!)<br />
  25. 25. MovieWhizz<br />
  26. 26.
  27. 27. “Classic” ASP.NET vs.ASP.NET MVC<br />
  28. 28. ComparingRuby on RailsandASP.NET MVC<br />
  29. 29.
  30. 30. David Heinemeier Hansson<br />
  31. 31. The “Gang of Foreheads”<br />
  32. 32. Programming Language<br />ASP.NET<br /><ul><li>C# or Visual Basic
  33. 33. Compiled
  34. 34. Statically typed
  35. 35. Java-esque syntax
  36. 36. Strongly tied to Visual Studio IDE</li></ul>Ruby on Rails<br /><ul><li>Ruby
  37. 37. Interpreted
  38. 38. Dynamically typed
  39. 39. Smalltalk-y, Perl-y, Lisp-y syntax
  40. 40. Culturally tied to TextMate</li></li></ul><li>Design Philosophy<br />ASP.NET<br /><ul><li>There really should be a form of ASP.NET that actually treats the Web like the Web
  41. 41. “Whatever, man.”
  42. 42. Built as a general purpose framework for web developers using ASP.NET as a base</li></ul>Ruby on Rails<br /><ul><li>There really should be a Web programming framework that maximizes joy
  43. 43. “There’s a right way to do things, and it’s this way.”
  44. 44. Extracted from commonalities in 37Signals projects</li></li></ul><li>Database<br />ASP.NET<br /><ul><li>“SQL! Whoooo!”
  45. 45. More exposure to the database
  46. 46. Typically, you build a Repository class to act as a go-between for your models and the database
  47. 47. Traditional database building</li></ul>Ruby on Rails<br /><ul><li>“SQL! Ewwww!”
  48. 48. DHH’s opinion is that the database is just storage
  49. 49. Database persistence is provided by the model
  50. 50. Database building through migrations</li></li></ul><li>Out soon: ASP.NET MVC 2<br />A good number of new features including:<br />Client-side validation based on the model’s validation metadata<br />Areas to better organize an application<br />Model validation providers to hook in alternative validation logic when model binding<br />Metadata providers to allow for alternative sources of metadata for model objects<br />
  51. 51. ASP.NET MVC as Seen by a Former Rails Guy, Techincally<br />Really fast runtime performance!<br />Could stand to be a little more “opinionated”<br />Coming from the world of ActiveRecord, the “M” in MVC feels like it should be short for “Missing”<br />More lines of code, but Visual Studio’s Intellisense help compensate for that<br />Where are my plugins?<br />Could go either way on the lack of RJS<br />
  52. 52. ASP.NET MVC as Seen by a Former Rails Guy, Culturally<br />Yes, this isn’t the first MVC framework, but the world is a better place when people take a good idea and run with it<br />Moving from Rails to ASP.NET MVC, I kind of miss that Indie Rockfeeling, but I like the Arena Rock opportunities<br />“I’m not selling out, I’m buying in!”<br />
  53. 53. Resources<br />
  54. 54. NerdDinner (nerddinner.com)<br />
  55. 55. Professional ASP.NET MVC 1.0,<br />a.k.a. The “Gang of Foreheads” Book<br />
  56. 56. ASP.NET MVC in Action<br />(Follow @ManningBooks on Twitter)<br />
  57. 57. Pro ASP.NET MVC Framework<br />(Highest rating on Amazon.com)<br />
  58. 58. The Official ASP.NET MVC Site<br />ASP.NET/MVC<br />
  59. 59. You’ve Been Haacked (Phil Haack) <br />Haacked.com<br />
  60. 60. Scott Hanselman’s Blog<br />Hanselman.com<br />
  61. 61. ASP.NET MVC aggregator site<br />ASPDotNetMVC.com<br />
  62. 62. This site will pull downthe pants of your mind<br />
  63. 63. ObjectSharp<br />ObjectSharp.com<br />
  64. 64. Canadian Developer Connection<br />blogs.msdn.com/cdndevs<br />
  65. 65. Global Nerdy<br />GlobalNerdy.com<br />
  66. 66. Thank You<br />

×