Esri Dev Summit 2009 Rest and Mvc Final

1,258 views

Published on

Presentation on REST and MVC given at the 2009 ESRI Developer Summit

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,258
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
43
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Esri Dev Summit 2009 Rest and Mvc Final

  1. 1. RESTful Apps and Services w/ ASP.NET MVC brian noyle, dtsagile www.dtsagile.com briannoyle.wordpress.com www.twitter.com/bnoyle www.slideshare.net/bnoyle
  2. 2. Attention geo-geeks
  3. 3. your mission { Should you choose to accept it
  4. 4. maps meets web two-dot oh
  5. 5. in other words BOSS Your
  6. 6. fast…
  7. 7. no problem right?
  8. 8. {Note: Mortals not in ivory tower}
  9. 9. Yikes!!!
  10. 10. don’t reinvent
  11. 11. JSON: { quot;ClusteredPointLocationIdsquot;:[34480,34355,34 354], quot;PointLocationIdquot;:34480, quot;IsClusteredquot;:true, Locationquot;:{quot;Latquot;:-2.15,quot;Lonquot;:-80.53} }
  12. 12. RESTful endpoints for HTTP verbs
  13. 13. goodness
  14. 14. services :: important
  15. 15. <xml> …binary… {json} <html> {javascript}
  16. 16. atom Yahoo! esri atom facebook amazon S3 twitter
  17. 17. protected void Page_Load(object sender, EventArgs e) { //Connect to database //Get some data //Munge data around //Enforce some rules from config //Load information into server controls }
  18. 18. model view controller
  19. 19. rendering and User Interface presentation data buckets, Domain maybe logic? crud, business Repository logic DAL, database Data
  20. 20. simplify
  21. 21. <clean> <markup> <makes> <happy> <devs>
  22. 22. ../intuitive/urls
  23. 23. cached == fast
  24. 24. UI Domain Fake Repository IRepository } } Here be dragons… Data
  25. 25. catch red flags early
  26. 26. monitor regression
  27. 27. ASP.NET MVC View Unit Tests Model (Domain) Unit Tests Controller IRepository Unit Tests SQL Repository Unit Tests DAL Data
  28. 28. developer toolbelt += {templates, tools}
  29. 29. } paycheck == important;
  30. 30. Screen shot of CDOT
  31. 31. focused fast lightweight
  32. 32. Spatial Data in ArcSDE Simple Viewer ESRI Javascript API ArcGIS Server REST API ESRI ArcGIS ArcGIS Server Online Services 9.3 Custom Services Advanced Viewer ESRI Silverlight API Additional Services via REST Proxy •Searches •External System Integ.
  33. 33. plan your buckets
  34. 34. plan state transition
  35. 35. ./projects/detail/187
  36. 36. plan your routes
  37. 37. pick your shiny bits
  38. 38. code == fun;
  39. 39. how do you take this home
  40. 40. @dbouwman unit testing Notes from the field
  41. 41. @cageyjames open layers and rest api
  42. 42. @chrisspagnuolo agile
  43. 43. right now…
  44. 44. you are surrounded
  45. 45. communicate online
  46. 46. weekly daily hourly right now.
  47. 47. how do you particpate
  48. 48. brian noyle, dtsagile www.dtsagile.com briannoyle.wordpress.com www.twitter.com/bnoyle www.slideshare.net/bnoyle questions?

×