Top Banner
Building Better Web Apps with F# Daniel Mohl @dmohl blog.danielmohl.com github.com/dmohl
14

Building Better Web Apps with F#

Jun 27, 2015

Download

Technology

dmohl

Shows how to build ASP.NET MVC, ASP.NET Web API, and Single Page Applications with F#. Showcases various features of F# that improve the development experience.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Building Better Web Apps with F#

Building Better Web Apps with F#

• Daniel Mohl

• @dmohl

• blog.danielmohl.com

• github.com/dmohl

Page 2: Building Better Web Apps with F#

Who Is this Guy?

Daniel Mohl

[email protected]/dmohl

blog.danielmohl.com

Page 3: Building Better Web Apps with F#

Coming in January 2013

Page 4: Building Better Web Apps with F#

Why F# in Web Development?

F#/JavaScript Commonalities Web solutions are more complex than ever Concise yet readable syntax Great features for building highly scalable,

modern web solutions (async workflows, MailboxProcessors, etc., etc.)

It’s now easier than ever with F# Tools for VS2012 Express for Web.

Page 5: Building Better Web Apps with F#

Building an ASP.NET MVC 4 Solution

Get the template Create the project Add unit tests if desired Build the next big thing

Page 6: Building Better Web Apps with F#

Solution Breakdown

Page 7: Building Better Web Apps with F#

Let’s Build Something!

Page 8: Building Better Web Apps with F#

Have you see Windows 8?

Page 9: Building Better Web Apps with F#

How about Windows 9?

Page 10: Building Better Web Apps with F#

How about Windows 9?

Page 11: Building Better Web Apps with F#

ASP.NET Web API

Page 12: Building Better Web Apps with F#

JSON Type Provider from FSharpx

Get it from NuGet as ID FSharpx.TypeProviders.Documents.

Page 13: Building Better Web Apps with F#

A Single Page App with F#

Same template as the previous 2Backbone.js (MV*)

RouterModels and CollectionsViews

Underscore.js for templating supportFoundation 3 for responsive design

Page 14: Building Better Web Apps with F#

Questions?