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:

Abstract

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

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
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

References

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

  2. The jQuery Mobile website. http://jquerymobile.com, Accessed 10 December 2013

  3. The Sencha Touch website. http://www.sencha.com/products/touch. Accessed 10 December 2013

  4. The jQuery website. http://jquery.com, 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

Acknowledgements

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

Authors

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. https://doi.org/10.1007/978-3-319-15940-9_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-15940-9_9

  • 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