How F# Learned to Stop Worrying and Love the Data
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

How F# Learned to Stop Worrying and Love the Data

  • 5,393 views
Uploaded 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.......

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
5,393
On Slideshare
5,113
From Embeds
280
Number of Embeds
7

Actions

Shares
Downloads
37
Comments
0
Likes
3

Embeds 280

https://twitter.com 268
http://eventifier.co 5
http://twitter.com 2
https://si0.twimg.com 2
https://web.tweetdeck.com 1
https://twimg0-a.akamaihd.net 1
http://www.linkedin.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. How F# Learned to StopWorrying and Love the DataTomas Petricek @tomaspetricekConspirator behind http://fsharp.org
  • 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. The Data
  • 4. let wb = WorldBank()wb.
  • 5. [DEMO]Exploring WorldBank Data
  • 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. F# to JavaScript
  • 8. [DEMO]WorldBank App for the Webhttp://tomasp.net/techmesh
  • 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. 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. Accessing REST services
  • 12. [DEMO]Introducing Apiary Type Provider
  • 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. [DEMO]The Movie Database Web App http://tomasp.net/techmesh
  • 15. Type Providers in Action WorldBank Type Provider JSON Type Provider Apiary Type Provider TypeScript Type Provider
  • 16. [SUMMARY]Where to learn more?
  • 17. Online resourceswww.fsharp.org Information & communitywww.tryfsharp.org Interactive F# tutorials
  • 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. 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