Your SlideShare is downloading. ×
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
How F# Learned to Stop Worrying and Love the Data
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
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

How F# Learned to Stop Worrying and Love the Data

4,503

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 …

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,503
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
38
Comments
0
Likes
3
Embeds 0
No embeds

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

×