How F# Learned to StopWorrying and Love the DataTomas Petricek @tomaspetricekConspirator behind http://fsharp.org
software stacks       trainings teaching F# user groups     snippetsmac and linux   cross-platform books and tutorials  F#...
The Data
let wb = WorldBank()wb.
[DEMO]Exploring WorldBank Data
Asynchronous programmingAsynchrony matters Node.js and C# 5.0F# Async workflows Without inversion of control Exception han...
F# to JavaScript
[DEMO]WorldBank App for the Webhttp://tomasp.net/techmesh
F# to JavaScriptTypeScript type provider Import types for JS libraries Somebody else writes them!Libraries & frameworks Op...
Accessing REST services  REST (Representational State Transfer) is a    style of software architecture fordistributed syst...
Accessing REST services
[DEMO]Introducing Apiary Type Provider
Apiary.io Type ProviderCommon REST conventions GET /movie/{id}               Get movie summary GET /movie/{id}/casts      ...
[DEMO]The Movie Database Web App http://tomasp.net/techmesh
Type Providers in Action WorldBank Type Provider   JSON Type Provider   Apiary Type Provider TypeScript Type Provider
[SUMMARY]Where to learn more?
Online resourceswww.fsharp.org      Information & communitywww.tryfsharp.org   Interactive F# tutorials
User groups and trainingsFunctional and F# trainings  In London and New York  Get in touch tomas@tomasp.netF#unctional Lon...
F#, Data and Services                 other languages         web              tool support   extensibility   code-firstty...
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
Upcoming SlideShare
Loading in...5
×

How F# Learned to Stop Worrying and Love the Data

4,720
-1

Published on

The world of data speaks a different language than the world of programming languages. It uses REST, SQL database schema, XML, JSON while programming languages only understand types and classes. This causes big confusion when we try to access data from programming languages, especially from those with (otherwise very useful) static type systems.

How can a programming language learn to understand data? In this talk, I'll show how this is done using type providers in F# 3.0. You'll see how integrating data into the programming language opens the possibilities for creating exciting applications.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,720
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
39
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

How F# Learned to Stop Worrying and Love the Data

  1. 1. How F# Learned to StopWorrying and Love the DataTomas Petricek @tomaspetricekConspirator behind http://fsharp.org
  2. 2. software stacks trainings teaching F# user groups snippetsmac and linux cross-platform books and tutorials F# Software Foundation F# community open-source MonoDevelop http://www.fsharp.org contributions research support consultancy mailing list
  3. 3. The Data
  4. 4. let wb = WorldBank()wb.
  5. 5. [DEMO]Exploring WorldBank Data
  6. 6. Asynchronous programmingAsynchrony matters Node.js and C# 5.0F# Async workflows Without inversion of control Exception handling and loops simple Sequential and parallel composition
  7. 7. F# to JavaScript
  8. 8. [DEMO]WorldBank App for the Webhttp://tomasp.net/techmesh
  9. 9. F# to JavaScriptTypeScript type provider Import types for JS libraries Somebody else writes them!Libraries & frameworks Open source: FunScript and Pit Commercial: IntelliFactory WebSharper
  10. 10. Accessing REST services REST (Representational State Transfer) is a style of software architecture fordistributed systems such as the World Wide Web. REST has emerged as a predominant Web service design model.
  11. 11. Accessing REST services
  12. 12. [DEMO]Introducing Apiary Type Provider
  13. 13. Apiary.io Type ProviderCommon REST conventions GET /movie/{id} Get movie summary GET /movie/{id}/casts Get cast detailsTypes from JSON samples { "page": 1, "total_pages": 1, "total_results": 5, "results": [ { "title": "Skyfall", "id": 94221 } ] }
  14. 14. [DEMO]The Movie Database Web App http://tomasp.net/techmesh
  15. 15. Type Providers in Action WorldBank Type Provider JSON Type Provider Apiary Type Provider TypeScript Type Provider
  16. 16. [SUMMARY]Where to learn more?
  17. 17. Online resourceswww.fsharp.org Information & communitywww.tryfsharp.org Interactive F# tutorials
  18. 18. User groups and trainingsFunctional and F# trainings In London and New York Get in touch tomas@tomasp.netF#unctional Londoners meetup http://meetup.com/FSharpLondon/
  19. 19. F#, Data and Services other languages web tool support extensibility code-firsttype script Love the Data REST unstructured data static typing inference and integration schema R language transparent java script
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×