Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering F#

You're reading from   Mastering F# A comprehensive and in-depth guide to writing functional programs using F#

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher
ISBN-13 9781784393434
Length 264 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Suhaib Fahad Suhaib Fahad
Author Profile Icon Suhaib Fahad
Suhaib Fahad
Alfonso García-Caro Núñez Alfonso García-Caro Núñez
Author Profile Icon Alfonso García-Caro Núñez
Alfonso García-Caro Núñez
Arrow right icon
View More author details
Toc

Summary


In this chapter, we have reviewed some of the most common tools for web development with F#. We have briefly seen how web view controllers can be written using ASP.NET Web API 2, a framework designed by Microsoft for C#, but that can be easily adapted to F# thanks to its conciseness.

Then, you learned in more detail about Suave, a very popular web server in the F# community, that is specifically designed to make the most of the functional (such as expressiveness and composability) and asynchronous features of the language.

However, F# is not limited to the backend (server side). WebSharper gives you a full set of tools to write both your server and client code in F#, and takes advantage of the type safety the language provides. Also, Fable is a lightweight F# to JavaScript compiler that gives us more flexibility when we need to stay closer to the JavaScript ecosystem.

In the next chapter, we will learn more about Fable and how it can be used not only to write the frontend (client side...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image