Tuesday, May 13, 2008

Keynote with Scott Handslemen

Definitions

  • MCSE : minesweeper consultant and solitaire engineer
  • REST - Representational state transfer
    • Uses http
  • RESTafarian
  • atom is a formalization of syndication in the same vain as RSS
  • atom is a standard
  • monkey code is code that is easy to say, long to do
  • monkey coder is someone who codes monkeys

Tools

  • Fiddler - http debugging proxy
  • LINQpad - kicks complete ass. Like query analyser
  • TcpTrace - pocketsoap.com - port forwarding for localhost
  • DataSvcUtil.exe does auto generation of code from schema
  • LINQ to NHibernate
    • In the works

Dynamic Data Web Applications

  • provides the Web application scaffolding that enables you to build rich data-driven Web applications
  • Extends the views (dataview, etc.) in the ASP.Net controls to make data binding suck less
  • Basically seems to be a really smart, simple, and pretty way of displaying data
  • Creates a dynamic data folder which holds templates
  • Also make found column sucks less
  • Bound columns should be less horrible
  • Adds the system.web.routing namespace
  • Get vs.net 2008 sp1 to use this
  • Remember, urls do not always reflect what's on disk
  • DynamicDataRoute
  • Everything you are given can be changed
  • everything is displayed according to its Datatype (magic)
  • dynamic data is a way of keeping things DRY
  • DynacicField are used as a replacement for BoundField
  • move towards convention over configuration
    • that's what it is, live with it

Astoria - ADO.Net Data Services

  • SOAP versus REST both have their place (REST when you just want to get data)
  • Gives access to data contexts
    • Can expose tables/views in an aspx page
  • Can set granular data access
    • Security etc.
  • .svc files are simply pointers
    • I don’t really know what these are, but if you see them, they are just pointers
  • Lock down development server port for simplicity
    • This is normally set up dynamically, we could change these to static so we don’t have to change anything relying on them
  • The web is about interlinked resources
    • The web is a resource oriented architecture
  • Data is returned as an atom feed
    • Just like a blog site would be.
    • The result is just syndicated data
  • This is a formalization of a data model
  • 16 verbs in http used in REST
    • get, post. put, delete are CRUC operations
  • object identity is not the same as object structure
  • So, just because two objects look alike, doesn’t mean they are the same
  • Remember, http header contains a lot of information you can use as a developer

Concepts

  • any problem in programming can be solved by an additional layer of abstraction
  • any advance technology is indistinguishable from magic
  • therefore, any sufficient layer of abstraction is indistinguishable from magic

LINQ

  • remember, you can LINQ to anything, not just SQL
  • LINQ is not tunneled, doesn’t use no strings
  • LINQ has deferred execution

Notes

  • %20 represents a 'space' in a url
  • Microsoft offers MVC (Model-View-Controller) as a new project type too

DevTeach Notes

  • Touch typing is very important!

No comments: