Functional Programming eXchange 2012 / F#'s Type Providers In Depth

Please RSVP for instructions on how to join the event.

Description

The purpose of most of the real-world applications is to process data that are available in external data sources such as databases and XML files or obtained using a web service or REST API. Accessing such data sources in a typed way is difficult, because the compiler does not understand the structure of the data. In this talk, we look how to use F# 3.0 Type Providers to teach an old compiler new tricks. With type providers, the compiler can understand structure of databases, XML files and web services. This makes it possible to access data from any external data source in a type-safe way with a smooth IDE experience. In this talk, we'll look how to use the standard type providers and we'll also look at implementing a type provider for a custom data source. 

Outline

The purpose of most of the real-world applications is to process data that are available in external data sources such as databases and XML files or obtained using a web service or REST API. Accessing such data sources in a typed way is difficult, because the compiler does not understand the structure of the data. In this talk, we look how to use F# 3.0 Type Providers to teach an old compiler new tricks. With type providers, the compiler can understand structure of databases, XML files and web services. This makes it possible to access data from any external data source in a type-safe way with a smooth IDE experience. In this talk, we'll look how to use the standard type providers and we'll also look at implementing a type provider for a custom data source. 

Recording

The creator of this video has not given permission to embed it on this domain.

Instead, you can view this video by following this external link:

Go to site

Tomas Petricek (tomas.petricek)

63.5k
AuthorDeveloper

Tomas Petricek is a long time F# enthusiast, using F# since the early Microsoft Research versions. He has been a Microsoft C# MVP since 2004, and together with Jon Skeet wrote Real-world Functional Programming which explains basic functional concepts using C# 3.0 (teaching F# alongside) and which shows several appealing real-world uses of F# and functional techniques. He also contributed to the development of F# during two internships at Microsoft Research.

For a complete view of this profile, including education, work experience and developer information, you need to be logged in and have a subscription.

Tweets

Tomas's upcoming trainings

No events

Tomas's past online trainings

Tomas's blog posts

0
comment
on 3/7/2017 7:31 AM
If you read a about the history of science, you will no doubt be astonished by some of the amazing theories that people used to believe. I recently finished reading The Invention of Science by David Wootton, which documents many of them (and is well worth[...]
.
0
comment
on 3/2/2017 3:53 AM
As mentioned in an earlier blog post, I've been spending some time at the Alan Turing Institute recently working on The Gamma project. The goal is to make data visualizations on the web more transparent. When you see a visualization online, you should be [...]
.
0
comment
on 1/25/2017 4:31 AM
There were a lot of rumors recently about the death of facts and even the death of statistics. I believe the core of the problem is that working with facts is quite tedious and the results are often not particularly exciting. Social media made it extremel[...]
.
0
comment
on 10/11/2016 9:30 AM
This blog post is an edited and more accessible version of an article Thinking the unthinkable that I recently presented at the PPIG 2016 conference. The original article (PDF) has proper references and more details; the minimalistic talk slides give a [...]
.
0
comment
on 9/27/2016 8:53 AM
When you start working in the programming language theory business, you'll soon find out that lambda abstraction and functions break many nice ideas or, at least, make your life very hard. For example, type inference is easy if you only have var x = ...,[...]
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper