Skip to main content

Functional Web and Mobile Development in F#

  • Chapter
  • First Online:
Central European Functional Programming School (CEFP 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8606))

Included in the following conference series:


In these lecture notes we present examples of F# mobile web applications using WebSharper [1], an open source F# web framework. In the first part of the tutorial, we provide a quick walkthrough of the relevant WebSharper features and concepts. WebSharper, through its extensions, can provide type-safe interfaces to various JavaScript libraries. We will make use of extensions to jQuery Mobile [2] and Sencha Touch [3], and demonstrate how to develop F# mobile web applications with these libraries.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others


  1. Granicz, A., Tayanovskyy, A., Denuziere, L., Janko, A., et al.: The WebSharper website., Accessed 10 December 2013

  2. The jQuery Mobile website., Accessed 10 December 2013

  3. The Sencha Touch website. Accessed 10 December 2013

  4. The jQuery website., Accessed 10 December 2013

  5. Syme, D., Granicz, A., Cisternino, A.: Expert F# 3.0. Apress, Berkeley (2012)

    Google Scholar 

  6. Bjornson, J., Tayanovkyy, A., Granicz, A.: Composing reactive GUIs in F# using WebSharper. In: Hage, J., Morazán, M.T. (eds.) Implementation and Application of Functional Languages. LNCS, vol. 6647. Springer, Heidelberg (2011)

    Google Scholar 

  7. Cooper, E., Lindley, S., Wadler, P., Yallop, J.: An Idioms Guide to Formlets. Technical report, University of Edinburg (2008)

    Google Scholar 

  8. Denuziere, L., Rodriguez, E., Granicz, A.: Piglets to the rescue. In: 25th Symposium on Implementation and Application of Functional Languages, IFL. Nijmegen, The Netherlands (2013)

    Google Scholar 

  9. Fielding, R.T.: Architectural styles and the design of network-based software architectures. Ph.D. thesis, University of California, Irvine (2000)

    Google Scholar 

  10. Granicz, A., Tayanovskyy, A., Denuziere, L.: Experience Report: Developing a Cloud-Based Integrated Environment for F# Web and Mobile Applications. InformatikaKorszeru Technikai, IKT 2012. Dunaujvaros, Hungary (2012)

    Google Scholar 

  11. Czaplicki, E., Chong, S.: Asynchronous functional reactive programming for GUIs. In: The Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 2013, pp. 411–422. Seattle, WA, USA (2013)

    Google Scholar 

  12. Syme, D., Neverov, G., Margetson, J.: Extensible pattern matching via a lightweight language extension. In: The Proceedings of the 12th ACM SIGPLAN International Conference on Functional Programming, ICFP 2007. Freiburg, Germany (2007)

    Google Scholar 

Download references


The author would like to thank his IntelliFactory colleagues Loic Denuziere and Andras Janko for their help with the examples in this tutorial, and Anton Tayanovskyy for writing most of Sect. 1.4.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Adam Granicz .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Granicz, A. (2015). Functional Web and Mobile Development in F#. In: Zsók, V., Horváth, Z., Csató, L. (eds) Central European Functional Programming School. CEFP 2013. Lecture Notes in Computer Science(), vol 8606. Springer, Cham.

Download citation

  • DOI:

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-15939-3

  • Online ISBN: 978-3-319-15940-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics